mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
SORT package.json files
This commit is contained in:
parent
41d6168ba6
commit
29e1c02a65
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "storybook.js.org",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"description": "storybook.js.org documentation",
|
||||
"keywords": [
|
||||
"react",
|
||||
@ -46,6 +47,5 @@
|
||||
"react-router": "^4.3.1",
|
||||
"react-stack-grid": "^0.7.1",
|
||||
"sitemap": "^1.12.0"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,24 @@
|
||||
"name": "crna-kitchen-sink",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
|
||||
"scripts": {
|
||||
"android": "react-native-scripts android",
|
||||
"eject": "react-native-scripts eject",
|
||||
"ios": "react-native-scripts ios",
|
||||
"start": "react-native-scripts start",
|
||||
"storybook": "storybook start -p 7007",
|
||||
"test": "node node_modules/jest/bin/jest.js --watch"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "jest-expo"
|
||||
},
|
||||
"dependencies": {
|
||||
"expo": "^24.0.2",
|
||||
"prop-types": "^15.6.0",
|
||||
"react": "^16.2.0",
|
||||
"react-native": "^0.51.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "file:../../packs/storybook-addon-actions.tgz",
|
||||
"@storybook/addon-knobs": "file:../../packs/storybook-addon-knobs.tgz",
|
||||
@ -19,26 +37,8 @@
|
||||
"@storybook/react-native": "file:../../packs/storybook-react-native.tgz",
|
||||
"@storybook/ui": "file:../../packs/storybook-ui.tgz",
|
||||
"jest-expo": "^24.0.0",
|
||||
"react-dom": "^16.2.0",
|
||||
"react-native-scripts": "^1.8.1",
|
||||
"react-test-renderer": "~16.2.0",
|
||||
"react-dom": "^16.2.0"
|
||||
},
|
||||
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
|
||||
"scripts": {
|
||||
"start": "react-native-scripts start",
|
||||
"eject": "react-native-scripts eject",
|
||||
"android": "react-native-scripts android",
|
||||
"ios": "react-native-scripts ios",
|
||||
"test": "node node_modules/jest/bin/jest.js --watch",
|
||||
"storybook": "storybook start -p 7007"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "jest-expo"
|
||||
},
|
||||
"dependencies": {
|
||||
"expo": "^24.0.2",
|
||||
"prop-types": "^15.6.0",
|
||||
"react": "^16.2.0",
|
||||
"react-native": "^0.51.0"
|
||||
"react-test-renderer": "~16.2.0"
|
||||
}
|
||||
}
|
||||
|
@ -4,47 +4,11 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node node_modules/react-native/local-cli/cli.js start --config $PWD/rn-cli.config.js",
|
||||
"test": "jest",
|
||||
"storybook": "storybook start -p 7007 --metro-config $PWD/rn-cli.config.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"react": "^16.3.0-alpha.1",
|
||||
"react-native": "0.54.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^22.2.0",
|
||||
"@types/react": "^16.0.40",
|
||||
"@types/react-native": "^0.52.17",
|
||||
"@types/react-test-renderer": "^16.0.1",
|
||||
"babel-jest": "22.4.1",
|
||||
"babel-preset-react-native": "4.0.0",
|
||||
"jest": "22.4.2",
|
||||
"react-native-typescript-transformer": "^1.2.3",
|
||||
"react-test-renderer": "^16.3.0-alpha.1",
|
||||
"ts-jest": "^22.4.1",
|
||||
"typescript": "^2.7.2",
|
||||
"@storybook/addon-actions": "file:../../packs/storybook-addon-actions.tgz",
|
||||
"@storybook/addon-knobs": "file:../../packs/storybook-addon-knobs.tgz",
|
||||
"@storybook/addon-links": "file:../../packs/storybook-addon-links.tgz",
|
||||
"@storybook/addon-options": "file:../../packs/storybook-addon-options.tgz",
|
||||
"@storybook/addon-storyshots": "file:../../packs/storybook-addon-storyshots.tgz",
|
||||
"@storybook/addons": "file:../../packs/storybook-addons.tgz",
|
||||
"@storybook/channels": "file:../../packs/storybook-channels.tgz",
|
||||
"@storybook/client-logger": "file:../../packs/storybook-client-logger.tgz",
|
||||
"@storybook/channel-postmessage": "file:../../packs/storybook-channel-postmessage.tgz",
|
||||
"@storybook/channel-websocket": "file:../../packs/storybook-channel-websocket.tgz",
|
||||
"@storybook/components": "file:../../packs/storybook-components.tgz",
|
||||
"@storybook/core": "file:../../packs/storybook-core.tgz",
|
||||
"@storybook/node-logger": "file:../../packs/storybook-node-logger.tgz",
|
||||
"@storybook/react-native": "file:../../packs/storybook-react-native.tgz",
|
||||
"@storybook/ui": "file:../../packs/storybook-ui.tgz",
|
||||
"babel-core": "^6.26.0",
|
||||
"react-dom": "^16.3.0-alpha.1",
|
||||
"prop-types": "^15.6.1"
|
||||
"storybook": "storybook start -p 7007 --metro-config $PWD/rn-cli.config.js",
|
||||
"test": "jest"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "react-native",
|
||||
"cacheDirectory": ".jest/cache",
|
||||
"moduleFileExtensions": [
|
||||
"ts",
|
||||
"tsx",
|
||||
@ -54,16 +18,52 @@
|
||||
"moduleNameMapper": {
|
||||
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy"
|
||||
},
|
||||
"transform": {
|
||||
"^.+\\.(js)$": "<rootDir>/node_modules/babel-jest",
|
||||
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
||||
},
|
||||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
||||
"preset": "react-native",
|
||||
"testPathIgnorePatterns": [
|
||||
"\\.snap$",
|
||||
"<rootDir>/node_modules/",
|
||||
"<rootDir>/lib/"
|
||||
],
|
||||
"cacheDirectory": ".jest/cache"
|
||||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
||||
"transform": {
|
||||
"^.+\\.(js)$": "<rootDir>/node_modules/babel-jest",
|
||||
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"react": "^16.3.0-alpha.1",
|
||||
"react-native": "0.54.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "file:../../packs/storybook-addon-actions.tgz",
|
||||
"@storybook/addon-knobs": "file:../../packs/storybook-addon-knobs.tgz",
|
||||
"@storybook/addon-links": "file:../../packs/storybook-addon-links.tgz",
|
||||
"@storybook/addon-options": "file:../../packs/storybook-addon-options.tgz",
|
||||
"@storybook/addon-storyshots": "file:../../packs/storybook-addon-storyshots.tgz",
|
||||
"@storybook/addons": "file:../../packs/storybook-addons.tgz",
|
||||
"@storybook/channel-postmessage": "file:../../packs/storybook-channel-postmessage.tgz",
|
||||
"@storybook/channel-websocket": "file:../../packs/storybook-channel-websocket.tgz",
|
||||
"@storybook/channels": "file:../../packs/storybook-channels.tgz",
|
||||
"@storybook/client-logger": "file:../../packs/storybook-client-logger.tgz",
|
||||
"@storybook/components": "file:../../packs/storybook-components.tgz",
|
||||
"@storybook/core": "file:../../packs/storybook-core.tgz",
|
||||
"@storybook/node-logger": "file:../../packs/storybook-node-logger.tgz",
|
||||
"@storybook/react-native": "file:../../packs/storybook-react-native.tgz",
|
||||
"@storybook/ui": "file:../../packs/storybook-ui.tgz",
|
||||
"@types/jest": "^22.2.0",
|
||||
"@types/react": "^16.0.40",
|
||||
"@types/react-native": "^0.52.17",
|
||||
"@types/react-test-renderer": "^16.0.1",
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-jest": "22.4.1",
|
||||
"babel-preset-react-native": "4.0.0",
|
||||
"jest": "22.4.2",
|
||||
"prop-types": "^15.6.1",
|
||||
"react-dom": "^16.3.0-alpha.1",
|
||||
"react-native-typescript-transformer": "^1.2.3",
|
||||
"react-test-renderer": "^16.3.0-alpha.1",
|
||||
"ts-jest": "^22.4.1",
|
||||
"typescript": "^2.7.2"
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,8 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node node_modules/react-native/local-cli/cli.js run-ios",
|
||||
"test": "jest",
|
||||
"storybook": "storybook start -p 7007"
|
||||
"storybook": "storybook start -p 7007",
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"prop-types": "^15.6.0",
|
||||
@ -13,28 +13,28 @@
|
||||
"react-native": "^0.51.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-jest": "^23.2.0",
|
||||
"babel-preset-react-native": "^4.0.0",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"jest": "^22.0.4",
|
||||
"react-test-renderer": "^16.2.0",
|
||||
"@storybook/addon-actions": "file:../../packs/storybook-addon-actions.tgz",
|
||||
"@storybook/addon-knobs": "file:../../packs/storybook-addon-knobs.tgz",
|
||||
"@storybook/addon-links": "file:../../packs/storybook-addon-links.tgz",
|
||||
"@storybook/addon-options": "file:../../packs/storybook-addon-options.tgz",
|
||||
"@storybook/addon-storyshots": "file:../../packs/storybook-addon-storyshots.tgz",
|
||||
"@storybook/addons": "file:../../packs/storybook-addons.tgz",
|
||||
"@storybook/channels": "file:../../packs/storybook-channels.tgz",
|
||||
"@storybook/client-logger": "file:../../packs/storybook-client-logger.tgz",
|
||||
"@storybook/channel-postmessage": "file:../../packs/storybook-channel-postmessage.tgz",
|
||||
"@storybook/channel-websocket": "file:../../packs/storybook-channel-websocket.tgz",
|
||||
"@storybook/channels": "file:../../packs/storybook-channels.tgz",
|
||||
"@storybook/client-logger": "file:../../packs/storybook-client-logger.tgz",
|
||||
"@storybook/components": "file:../../packs/storybook-components.tgz",
|
||||
"@storybook/core": "file:../../packs/storybook-core.tgz",
|
||||
"@storybook/core-events": "file:../../packs/storybook-core-events.tgz",
|
||||
"@storybook/node-logger": "file:../../packs/storybook-node-logger.tgz",
|
||||
"@storybook/react-native": "file:../../packs/storybook-react-native.tgz",
|
||||
"@storybook/ui": "file:../../packs/storybook-ui.tgz",
|
||||
"react-dom": "^16.2.0"
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-jest": "^23.2.0",
|
||||
"babel-preset-react-native": "^4.0.0",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"jest": "^22.0.4",
|
||||
"react-dom": "^16.2.0",
|
||||
"react-test-renderer": "^16.2.0"
|
||||
}
|
||||
}
|
||||
|
56
package.json
56
package.json
@ -1,19 +1,37 @@
|
||||
{
|
||||
"name": "@storybook/root",
|
||||
"version": "3.0.0",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybooks/storybook.git"
|
||||
},
|
||||
"workspaces": [
|
||||
"addons/*",
|
||||
"addons/storyshots/*",
|
||||
"app/*",
|
||||
"lib/*",
|
||||
"examples/marko-cli",
|
||||
"examples/angular-cli",
|
||||
"examples/cra-kitchen-sink",
|
||||
"examples/html-kitchen-sink",
|
||||
"examples/mithril-kitchen-sink",
|
||||
"examples/polymer-cli",
|
||||
"examples/vue-kitchen-sink",
|
||||
"examples/svelte-kitchen-sink",
|
||||
"examples/official-storybook",
|
||||
"lib/cli/test/run/*"
|
||||
],
|
||||
"scripts": {
|
||||
"bootstrap": "node ./scripts/bootstrap.js",
|
||||
"bootstrap:crna-kitchen-sink": "npm --prefix examples/crna-kitchen-sink install",
|
||||
"bootstrap:docs": "yarn install --cwd docs",
|
||||
"bootstrap:react-native-vanilla": "npm --prefix examples/react-native-vanilla install",
|
||||
"bootstrap:react-native-typescript": "npm --prefix examples/react-native-typescript install",
|
||||
"bootstrap:react-native-vanilla": "npm --prefix examples/react-native-vanilla install",
|
||||
"build-packs": "lerna exec --scope '@storybook/*' --parallel -- \\$LERNA_ROOT_PATH/scripts/build-pack.sh \\$LERNA_ROOT_PATH/packs",
|
||||
"build-storybooks": "./scripts/build-storybooks.sh",
|
||||
"changelog": "pr-log --sloppy",
|
||||
"chromatic": "npm --prefix examples/official-storybook run chromatic",
|
||||
"precommit": "lint-staged",
|
||||
"coverage": "codecov",
|
||||
"danger": "danger",
|
||||
@ -28,17 +46,16 @@
|
||||
"lint": "yarn lint:js . && yarn lint:ts **/*.ts && yarn lint:md .",
|
||||
"lint:ci": "yarn lint:js --format ./node_modules/eslint-teamcity/index.js . && yarn lint:ts **/*.ts && yarn lint:md .",
|
||||
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json --report-unused-disable-directives",
|
||||
"lint:ts": "tslint -p . -c tslint.json -t stylish",
|
||||
"lint:md": "remark -q",
|
||||
"lint:ts": "tslint -p . -c tslint.json -t stylish",
|
||||
"publish": "lerna publish --exact",
|
||||
"publish:stable": "npm run publish -- --concurrency 1 --force-publish=*",
|
||||
"publish:alpha": "npm run publish -- --concurrency 1 --force-publish=* --npm-tag=alpha",
|
||||
"postpublish": "yarn --cwd lib/cli test -o",
|
||||
"publish:alpha": "npm run publish -- --concurrency 1 --force-publish=* --npm-tag=alpha",
|
||||
"publish:stable": "npm run publish -- --concurrency 1 --force-publish=*",
|
||||
"repo-dirty-check": "node ./scripts/repo-dirty-check",
|
||||
"start": "npm --prefix examples/official-storybook run storybook",
|
||||
"test": "node ./scripts/test.js",
|
||||
"test-latest-cra": "npm --prefix lib/cli run test-latest-cra",
|
||||
"chromatic": "npm --prefix examples/official-storybook run chromatic"
|
||||
"test-latest-cra": "npm --prefix lib/cli run test-latest-cra"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/common": "^6.0.3",
|
||||
@ -132,11 +149,14 @@
|
||||
"node": ">=8.0.0",
|
||||
"yarn": ">=1.3.2"
|
||||
},
|
||||
"private": true,
|
||||
"browserslist": "defaults",
|
||||
"collective": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/storybook"
|
||||
},
|
||||
"eslint-teamcity": {
|
||||
"reporter": "inspections"
|
||||
},
|
||||
"lint-staged": {
|
||||
"linters": {
|
||||
"*.js": [
|
||||
@ -167,25 +187,5 @@
|
||||
"dependencies": "Dependency Upgrades",
|
||||
"other": "Other"
|
||||
}
|
||||
},
|
||||
"eslint-teamcity": {
|
||||
"reporter": "inspections"
|
||||
},
|
||||
"browserslist": "defaults",
|
||||
"workspaces": [
|
||||
"addons/*",
|
||||
"addons/storyshots/*",
|
||||
"app/*",
|
||||
"lib/*",
|
||||
"examples/marko-cli",
|
||||
"examples/angular-cli",
|
||||
"examples/cra-kitchen-sink",
|
||||
"examples/html-kitchen-sink",
|
||||
"examples/mithril-kitchen-sink",
|
||||
"examples/polymer-cli",
|
||||
"examples/vue-kitchen-sink",
|
||||
"examples/svelte-kitchen-sink",
|
||||
"examples/official-storybook",
|
||||
"lib/cli/test/run/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user