Skip to content

Commit

Permalink
Merge pull request #903 from storybooks/shellJs_scripts
Browse files Browse the repository at this point in the history
Switch to the only prepublish script
  • Loading branch information
usulpro authored Apr 24, 2017
2 parents 9a65cbc + 4845e21 commit 6a38ea8
Show file tree
Hide file tree
Showing 30 changed files with 646 additions and 754 deletions.
6 changes: 0 additions & 6 deletions packages/addon-actions/.scripts/npm-prepublish.js

This file was deleted.

94 changes: 47 additions & 47 deletions packages/addon-actions/package.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"name": "@kadira/storybook-addon-actions",
"version": "1.1.3",
"description": "Action Logger addon for storybook",
"main": "dist/index.js",
"scripts": {
"deploy-storybook": "storybook-to-ghpages",
"prepublish": "node .scripts/npm-prepublish.js",
"storybook": "start-storybook -p 9001"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kadirahq/storybook-addon-actions.git"
},
"keywords": [
"storybook"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/kadirahq/storybook-addon-actions/issues"
},
"homepage": "https://github.com/kadirahq/storybook-addon-actions#readme",
"devDependencies": {
"@kadira/storybook": "*",
"@kadira/storybook-addons": "*",
"@kadira/storybook-ui": "*",
"babel-cli": "^6.11.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"shelljs": "^0.7.3"
},
"dependencies": {
"deep-equal": "^1.0.1",
"json-stringify-safe": "^5.0.1",
"prop-types": "^15.5.7",
"react-inspector": "^1.1.0"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
"react": "*",
"react-dom": "*"
}
}
{
"name": "@kadira/storybook-addon-actions",
"version": "1.1.3",
"description": "Action Logger addon for storybook",
"main": "dist/index.js",
"scripts": {
"deploy-storybook": "storybook-to-ghpages",
"prepublish": "node ../../scripts/prepublish.js",
"storybook": "start-storybook -p 9001"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kadirahq/storybook-addon-actions.git"
},
"keywords": [
"storybook"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/kadirahq/storybook-addon-actions/issues"
},
"homepage": "https://github.com/kadirahq/storybook-addon-actions#readme",
"devDependencies": {
"@kadira/storybook": "*",
"@kadira/storybook-addons": "*",
"@kadira/storybook-ui": "*",
"babel-cli": "^6.11.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"shelljs": "^0.7.3"
},
"dependencies": {
"deep-equal": "^1.0.1",
"json-stringify-safe": "^5.0.1",
"prop-types": "^15.5.7",
"react-inspector": "^1.1.0"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
"react": "*",
"react-dom": "*"
}
}
16 changes: 0 additions & 16 deletions packages/addon-comments/.scripts/prepublish.sh

This file was deleted.

124 changes: 62 additions & 62 deletions packages/addon-comments/package.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
{
"name": "@kadira/storybook-addon-comments",
"version": "1.9.1",
"description": "Comments addon for Storybook",
"main": "preview.js",
"scripts": {
"prepublish": ". ./.scripts/prepublish.sh",
"storybook": "start-storybook -p 3006",
"storybook-local": "STORYBOOK_CLOUD_SERVER='http://localhost:3003/graphql' start-storybook -p 9010",
"storybook-remote": "start-storybook -p 3006",
"publish-storybook": "bash .scripts/publish_storybook.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kadirahq/storybook-addon-comments.git"
},
"keywords": [
"storybook"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/kadirahq/storybook-addon-comments/issues"
},
"homepage": "https://github.com/kadirahq/storybook-addon-comments#readme",
"devDependencies": {
"@kadira/storybook": "*",
"@kadira/storybook-addons": "*",
"@kadira/storybook-database-cloud": "*",
"@kadira/storybook-deployer": "*",
"@kadira/storybook-ui": "*",
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-loader": "^6.2.5",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-polyfill": "^6.13.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-react": "^6.11.1",
"babel-preset-react-app": "^0.2.1",
"babel-preset-stage-0": "^6.5.0",
"git-url-parse": "^6.0.1",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"shelljs": "^0.7.4"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
"react": "*",
"react-dom": "*"
},
"dependencies": {
"babel-runtime": "^6.11.6",
"deep-equal": "^1.0.1",
"events": "^1.1.1",
"insert-css": "^1.0.0",
"marked": "^0.3.6",
"moment": "^2.15.1",
"prop-types": "^15.5.7",
"react-render-html": "^0.1.6",
"react-textarea-autosize": "^4.0.5"
}
}
{
"name": "@kadira/storybook-addon-comments",
"version": "1.9.1",
"description": "Comments addon for Storybook",
"main": "preview.js",
"scripts": {
"prepublish": "node ../../scripts/prepublish.js",
"storybook": "start-storybook -p 3006",
"storybook-local": "STORYBOOK_CLOUD_SERVER='http://localhost:3003/graphql' start-storybook -p 9010",
"storybook-remote": "start-storybook -p 3006",
"publish-storybook": "bash .scripts/publish_storybook.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kadirahq/storybook-addon-comments.git"
},
"keywords": [
"storybook"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/kadirahq/storybook-addon-comments/issues"
},
"homepage": "https://github.com/kadirahq/storybook-addon-comments#readme",
"devDependencies": {
"@kadira/storybook": "*",
"@kadira/storybook-addons": "*",
"@kadira/storybook-database-cloud": "*",
"@kadira/storybook-deployer": "*",
"@kadira/storybook-ui": "*",
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-loader": "^6.2.5",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-polyfill": "^6.13.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-react": "^6.11.1",
"babel-preset-react-app": "^0.2.1",
"babel-preset-stage-0": "^6.5.0",
"git-url-parse": "^6.0.1",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"shelljs": "^0.7.4"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
"react": "*",
"react-dom": "*"
},
"dependencies": {
"babel-runtime": "^6.11.6",
"deep-equal": "^1.0.1",
"events": "^1.1.1",
"insert-css": "^1.0.0",
"marked": "^0.3.6",
"moment": "^2.15.1",
"prop-types": "^15.5.7",
"react-render-html": "^0.1.6",
"react-textarea-autosize": "^4.0.5"
}
}
6 changes: 0 additions & 6 deletions packages/addon-graphql/.scripts/npm-prepublish.js

This file was deleted.

82 changes: 41 additions & 41 deletions packages/addon-graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{
"name": "@kadira/storybook-addon-graphql",
"version": "1.0.1",
"description": "Storybook addon to display the GraphiQL IDE",
"main": "dist/index.js",
"scripts": {
"deploy-storybook": "storybook-to-ghpages",
"prepublish": "node .scripts/npm-prepublish.js",
"storybook": "start-storybook -p 9001"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kadirahq/storybook-addon-graphql.git"
},
"keywords": [
"storybook"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/kadirahq/storybook-addon-graphql/issues"
},
"homepage": "https://github.com/kadirahq/storybook-addon-graphql#readme",
"devDependencies": {
"@kadira/storybook": "*",
"babel-cli": "^6.11.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"shelljs": "^0.7.3"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
"react": "*"
},
"dependencies": {
"graphiql": "^0.7.8",
"graphql": "^0.7.0"
}
}
{
"name": "@kadira/storybook-addon-graphql",
"version": "1.0.1",
"description": "Storybook addon to display the GraphiQL IDE",
"main": "dist/index.js",
"scripts": {
"deploy-storybook": "storybook-to-ghpages",
"prepublish": "node ../../scripts/prepublish.js",
"storybook": "start-storybook -p 9001"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kadirahq/storybook-addon-graphql.git"
},
"keywords": [
"storybook"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/kadirahq/storybook-addon-graphql/issues"
},
"homepage": "https://github.com/kadirahq/storybook-addon-graphql#readme",
"devDependencies": {
"@kadira/storybook": "*",
"babel-cli": "^6.11.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"shelljs": "^0.7.3"
},
"peerDependencies": {
"@kadira/storybook-addons": "*",
"react": "*"
},
"dependencies": {
"graphiql": "^0.7.8",
"graphql": "^0.7.0"
}
}
16 changes: 0 additions & 16 deletions packages/addon-info/.scripts/prepublish.sh

This file was deleted.

Loading

0 comments on commit 6a38ea8

Please sign in to comment.