-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 2.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "storybook-addon-toggle",
"version": "1.1.0",
"description": "Story type toggle addon for storybook",
"main": "./lib/index.js",
"scripts": {
"build": "npm run clean && babel src/ -d lib/",
"clean": "rimraf lib",
"test": "test",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"tag": "git tag v$npm_package_version",
"gh-pages:clean": "rimraf _gh-pages",
"gh-pages:build": "$(npm bin)/build-storybook -o _gh-pages",
"gh-pages:publish": "$(npm bin)/git-directory-deploy --directory _gh-pages",
"gh-pages": "npm run gh-pages:clean && npm run gh-pages:build && npm run gh-pages:publish",
"version:patch": "npm --no-git-tag-version version patch",
"version:minor": "npm --no-git-tag-version version minor",
"version:major": "npm --no-git-tag-version version major",
"preversion": "npm run check-changelog && npm run check-only-changelog-changed",
"postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"postpublish": "npm run gh-pages",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0"
},
"keywords": [
"storybook"
],
"author": "Maja Wichrowska ([email protected])",
"license": "MIT",
"peerDependencies": {
"@kadira/storybook-addons": "^1.6.1",
"react": "^15.4.2",
"react-dom": "^15.4.2"
},
"devDependencies": {
"@kadira/storybook": "^2.21.0",
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-loader": "^6.2.10",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-preset-airbnb": "^2.2.0",
"babel-register": "^6.22.0",
"eslint": "^3.17.1",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.0",
"git-directory-deploy": "^1.5.1",
"in-publish": "^2.0.0",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"safe-publish-latest": "^1.1.1"
}
}