2017-03-29 21:41:55 +02:00
|
|
|
{
|
2017-04-05 22:22:21 +02:00
|
|
|
"name": "storybook",
|
2017-05-18 16:44:27 +10:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2017-06-06 01:48:54 +12:00
|
|
|
"url": "https://github.com/storybooks/storybook.git"
|
2017-05-18 16:44:27 +10:00
|
|
|
},
|
2017-06-01 08:11:38 +02:00
|
|
|
"scripts": {
|
|
|
|
"bootstrap": "lerna bootstrap",
|
|
|
|
"bootstrap:docs": "cd docs && npm i",
|
|
|
|
"bootstrap:test-cra": "lerna exec --scope test-cra -- npm i",
|
|
|
|
"changelog": "pr-log --sloppy",
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"coverage": "codecov",
|
|
|
|
"docs:build": "cd docs && npm run build",
|
|
|
|
"docs:deploy:ci": "cd docs && npm run deploy:ci",
|
|
|
|
"docs:deploy:manual": "cd docs && npm run deploy:manual",
|
|
|
|
"docs:dev": "cd docs && npm run dev",
|
|
|
|
"github-release": "github-release-from-changelog",
|
|
|
|
"import-repo": "lerna import",
|
2017-06-05 00:57:20 +02:00
|
|
|
"lint": "npm run lint:js && npm run lint:md",
|
2017-06-06 17:40:40 +02:00
|
|
|
"lint:js": "eslint . --cache --cache-location=.cache/eslint --ext .js,.jsx,.json",
|
2017-06-05 00:57:20 +02:00
|
|
|
"lint:md": "remark .",
|
2017-06-01 08:11:38 +02:00
|
|
|
"publish": "lerna publish",
|
|
|
|
"test": "jest",
|
2017-06-05 00:57:20 +02:00
|
|
|
"test:watch": "npm test -- --watch",
|
|
|
|
"dev": "lerna exec --parallel -- babel src -d dist --ignore tests,__tests__,test.js,stories/,story.jsx --plugins \"transform-runtime\" --copy-files -w"
|
2017-06-01 08:11:38 +02:00
|
|
|
},
|
2017-03-29 21:41:55 +02:00
|
|
|
"devDependencies": {
|
2017-05-09 22:29:57 +02:00
|
|
|
"babel-cli": "^6.24.1",
|
2017-04-27 23:41:50 +02:00
|
|
|
"babel-core": "^6.24.1",
|
2017-05-26 09:36:45 +02:00
|
|
|
"babel-eslint": "^7.2.3",
|
2017-04-27 23:41:50 +02:00
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
2017-05-09 22:29:57 +02:00
|
|
|
"babel-polyfill": "^6.23.0",
|
2017-05-26 09:36:45 +02:00
|
|
|
"babel-preset-env": "^1.5.1",
|
2017-05-09 22:29:57 +02:00
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
|
"babel-preset-stage-0": "^6.24.1",
|
2017-05-31 08:53:19 +02:00
|
|
|
"chalk": "^1.1.3",
|
2017-05-26 09:36:45 +02:00
|
|
|
"codecov": "^2.2.0",
|
2017-04-14 15:36:32 +02:00
|
|
|
"enzyme": "^2.8.2",
|
2017-04-02 00:22:33 +02:00
|
|
|
"eslint": "^3.19.0",
|
2017-05-31 08:29:09 +02:00
|
|
|
"eslint-config-airbnb": "^15.0.1",
|
|
|
|
"eslint-config-prettier": "^2.1.1",
|
2017-05-26 09:36:45 +02:00
|
|
|
"eslint-plugin-import": "^2.3.0",
|
2017-05-18 17:57:07 +01:00
|
|
|
"eslint-plugin-jest": "^20.0.3",
|
2017-06-06 17:40:40 +02:00
|
|
|
"eslint-plugin-json": "^1.2.0",
|
2017-05-31 08:29:09 +02:00
|
|
|
"eslint-plugin-jsx-a11y": "^5.0.3",
|
2017-05-26 09:36:45 +02:00
|
|
|
"eslint-plugin-prettier": "^2.1.1",
|
2017-05-31 08:29:09 +02:00
|
|
|
"eslint-plugin-react": "^7.0.1",
|
2017-05-26 09:36:45 +02:00
|
|
|
"gh-pages": "^1.0.0",
|
2017-05-28 00:51:18 +10:00
|
|
|
"github-release-from-changelog": "^1.2.1",
|
2017-06-01 08:11:38 +02:00
|
|
|
"husky": "^0.13.4",
|
2017-05-26 09:36:45 +02:00
|
|
|
"jest": "^20.0.4",
|
|
|
|
"jest-enzyme": "^3.2.0",
|
2017-05-23 01:31:58 +00:00
|
|
|
"lerna": "2.0.0-rc.5",
|
2017-06-01 08:11:38 +02:00
|
|
|
"lint-staged": "^3.5.1",
|
2017-05-26 01:07:26 +02:00
|
|
|
"markdown-it-anchor": "^4.0.0",
|
|
|
|
"markdownlint-cli": "^0.3.1",
|
2017-06-05 00:57:20 +02:00
|
|
|
"nodemon": "^1.11.0",
|
2017-05-26 09:36:45 +02:00
|
|
|
"prettier": "^1.3.1",
|
2017-04-14 15:36:32 +02:00
|
|
|
"react": "^15.5.4",
|
2017-04-27 18:19:06 +02:00
|
|
|
"react-dom": "^15.5.4",
|
2017-05-26 11:21:46 +02:00
|
|
|
"react-test-renderer": "^15.5.4",
|
2017-05-26 01:07:26 +02:00
|
|
|
"remark-cli": "^3.0.1",
|
|
|
|
"remark-lint": "^6.0.0",
|
|
|
|
"remark-lint-code": "^2.0.0",
|
|
|
|
"remark-lint-code-eslint": "^2.0.0",
|
|
|
|
"remark-preset-lint-recommended": "^2.0.0",
|
2017-05-26 11:21:46 +02:00
|
|
|
"remark-toc": "^4.0.0",
|
2017-04-27 18:19:06 +02:00
|
|
|
"shelljs": "^0.7.7"
|
2017-03-29 23:04:33 +02:00
|
|
|
},
|
2017-05-18 13:19:37 -07:00
|
|
|
"collective": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/storybook"
|
2017-05-27 17:16:09 +10:00
|
|
|
},
|
2017-06-01 08:11:38 +02:00
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"npm run lint:js -- --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.md": [
|
2017-06-05 00:57:20 +02:00
|
|
|
"npm run lint:md -- -o",
|
2017-06-01 08:11:38 +02:00
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2017-05-27 17:16:09 +10:00
|
|
|
"pr-log": {
|
2017-05-28 00:51:18 +10:00
|
|
|
"skipLabels": [
|
|
|
|
"cleanup"
|
|
|
|
],
|
2017-05-27 17:16:09 +10:00
|
|
|
"validLabels": {
|
2017-05-27 22:18:11 +10:00
|
|
|
"breaking": "Breaking Changes",
|
|
|
|
"feature": "Features",
|
2017-05-27 17:16:09 +10:00
|
|
|
"bug": "Bug Fixes",
|
|
|
|
"documentation": "Documentation",
|
|
|
|
"maintenance": "Maintenance",
|
2017-05-27 22:18:11 +10:00
|
|
|
"greenkeeper": "Dependency Upgrades",
|
2017-05-28 01:30:19 +10:00
|
|
|
"other": "Other"
|
2017-05-27 17:16:09 +10:00
|
|
|
}
|
2017-06-03 21:36:01 +02:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"npm": "<5.0.0"
|
2017-03-29 21:41:55 +02:00
|
|
|
}
|
2017-05-20 20:55:07 +02:00
|
|
|
}
|