-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
137 lines (137 loc) · 4.2 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "bonsai-analyzer",
"description": "Trim your dependency tree.",
"keywords": [
"bonsai",
"webpack",
"tool",
"analyze",
"analyse",
"bundle",
"dependencies"
],
"version": "0.4.0-alpha4",
"private": false,
"license": "Apache-2.0",
"author": {
"name": "Ryan Albrecht",
"email": "ryan@ryanalbrecht.ca"
},
"contributors": [],
"repository": "https://github.com/pinterest/bonsai",
"bugs": "https://github.com/pinterest/bonsai/issues",
"bin": {
"bonsai": "./bin/cli.js"
},
"dependencies": {
"@github/octicons-react": "^7.4.0",
"argparse": "^1.0.9",
"array-includes": "^3.0.3",
"bootstrap": "4.3.1",
"invariant": "^2.2.2",
"load-pkg": "^4.0.0",
"object.values": "^1.0.4",
"raf": "^3.4.0",
"react": "16.8.6",
"react-dom": "16.8.6",
"react-redux": "^7.0.2",
"redux": "^3.7.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/plugin-transform-strict-mode": "^7.2.0",
"@babel/register": "^7.4.0",
"@storybook/addon-actions": "^5.1.1",
"@storybook/addon-storyshots": "^5.1.1",
"@storybook/react": "^5.1.1",
"@storybook/theming": "^5.1.1",
"babel-eslint": "^10.0.1",
"babel-loader": "8.0.5",
"babel-plugin-transform-define": "^1.3.1",
"codecov": "^3.0.0",
"emotion-theming": "^10.0.10",
"eslint": "6.2.2",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-flowtype": "^4.2.0",
"eslint-plugin-jest": "^22.6.4",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-react": "^7.3.0",
"flow-annotation-check": "^1.11.2",
"flow-bin": "0.104.0",
"markdown-spellcheck": "^1.0.0",
"nodemon": "^1.19.0",
"object.values": "^1.0.4",
"raf": "^3.4.0",
"react-scripts": "3.0.1",
"react-test-renderer": "16.8.6",
"require-context.macro": "^1.0.4",
"serve": "^11.0.0",
"webpack-cli": "^3.3.2"
},
"resolutions": {
"babel-jest": "24.8.0",
"babel-loader": "8.0.5"
},
"scripts": {
"flow:watch": "flow status; fswatch -e \"/\\.\" -o . | xargs -n1 -I{} flow status",
"flow:stop": "flow stop",
"eslint:watch": "eslint ./src && echo 'No Lint Problems'; fswatch -e \"/\\.\" -o -r ./src | xargs -n1 -I{} eslint ./src && echo 'No Lint Problems'",
"test": "react-scripts test --testPathPattern='src/(?!integration)'",
"test:all": "react-scripts test",
"build": "react-scripts build",
"build:cli": "NODE_ENV=production babel --no-babelrc --config-file ./.babelrc.cli src --out-dir bin --ignore src/index.js,__tests__,src/components",
"rebuild:integration-fixtures": "./scripts/build-integration-fixtures.sh",
"rebuild:webpack-examples": "./scripts/build-webpack-examples.sh",
"start": "react-scripts start",
"start:with-stats": "REACT_APP_STATS_URL=https://pinterest.github.io/bonsai/example.json react-scripts start",
"start:with-server": "serve -n -p 9007 dev-server & REACT_APP_API_LIST_ENDPOINT=/api/index.json react-scripts start",
"start:cli": "NODE_ENV=development ./src/cli.js",
"start:storybook": "start-storybook -p 9006",
"clean": "./scripts/clean.sh",
"predeploy": "NODE_ENV=production webpack --config ./webpack.config.js --json > 'docs/example.json'",
"preversion": "./scripts/preversion.sh",
"postversion": "./scripts/postversion.sh",
"eject": "react-scripts eject"
},
"proxy": "http://localhost:9007",
"flow-annotation-check": {
"include": [
"src/**/*.js"
],
"exclude": [
"+(node_modules|build|flow-typed)/**/*.js",
"src/cli.js",
"src/utils/registerServiceWorker.js"
],
"show_summary": true,
"list_files": "noflow"
},
"flow-coverage-report": {
"threshold": 85,
"reportTypes": [
"html",
"text"
],
"globIncludePatterns": [
"src/**/*.js"
],
"globExcludePatterns": [
"+(node_modules|build|flow-typed)/**/*.js",
"src/components/__tests__/Storyshots.test.js"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}