forked from mozilla/testpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
173 lines (173 loc) · 6.46 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "testpilot",
"description": "A place where ideas come to idea",
"version": "1.0.0",
"author": "Mozilla (https://mozilla.org/)",
"browser": {
"legal-docs": false
},
"bugs": {
"url": "https://github.com/mozilla/testpilot/issues"
},
"engines": {
"node": ">=8.9.4"
},
"browserslist": "last 2 versions",
"dependencies": {
"babel-polyfill": "6.26.0",
"classnames": "2.2.5",
"cldr-core": "32.0.0",
"clipboard": "1.7.1",
"domready": "1.0.8",
"email-validator": "^2.0.4",
"es-symbol": "1.1.2",
"es6-promise": "4.2.2",
"fluent": "0.4.3",
"fluent-langneg": "0.1.0",
"fluent-react": "0.4.1",
"html-react-parser": "0.4.1",
"js-cookie": "2.2.0",
"legal-docs": "https://github.com/mozilla/legal-docs.git",
"libphonenumber-js": "^1.2.15",
"micro-email-validator": "0.0.1",
"moment": "2.20.1",
"raven-js": "3.21.0",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-dom-factories": "1.0.2",
"react-helmet": "^5.2.0",
"react-redux": "5.0.6",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"redux": "3.7.2",
"redux-promise": "0.5.3",
"reselect": "3.0.1",
"seedrandom": "2.4.3",
"whatwg-fetch": "2.0.3"
},
"devDependencies": {
"@storybook/addon-actions": "3.4.0-alpha.1",
"@storybook/addon-knobs": "3.4.0-alpha.1",
"@storybook/react": "3.4.0-alpha.1",
"autoprefixer": "^8.1.0",
"babel-core": "6.26.0",
"babel-eslint": "8.2.1",
"babel-loader": "7.1.2",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"babel-register": "6.26.0",
"chai": "4.1.2",
"copy-webpack-plugin": "^4.5.1",
"cross-env": "5.1.3",
"cross-spawn": "5.1.0",
"cssnano": "^3.10.0",
"del": "3.0.0",
"doctoc": "1.3.0",
"empty": "0.10.1",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"eslint": "4.15.0",
"eslint-config-react": "1.1.7",
"eslint-plugin-flowtype": "2.30.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-mozilla": "0.5.0",
"eslint-plugin-no-unsanitized": "2.0.2",
"eslint-plugin-react": "7.5.1",
"express": "^4.16.2",
"extract-text-webpack-plugin": "3.0.2",
"feed": "1.1.1",
"fetch-mock": "6.0.0-beta.7",
"flow-bin": "0.47.0",
"flow-coverage-report": "0.4.0",
"flow-typed": "2.2.3",
"gulp": "3.9.1",
"gulp-cache": "1.0.2",
"gulp-if": "2.0.2",
"gulp-multi-dest": "0.0.4",
"gulp-rename": "1.2.2",
"gulp-rev-all": "0.9.7",
"gulp-uglify": "3.0.0",
"gulp-util": "3.0.8",
"image-webpack-loader": "3.4.2",
"jsdom": "11.5.1",
"merge-stream": "1.0.1",
"mkdirp": "0.5.1",
"mocha": "4.1.0",
"mocha-junit-reporter": "1.15.0",
"morgan": "^1.9.0",
"node-normalize-scss": "3.0.0",
"node-sass": "4.7.2",
"npm-run-all": "^4.1.2",
"nyc": "11.4.1",
"onchange": "^3.3.0",
"photon-colors": "1.3.1",
"postcss-loader": "^2.1.1",
"react-addons-test-utils": "15.6.2",
"react-markdown": "3.1.4",
"react-test-renderer": "16.2.0",
"require-globify": "1.4.1",
"run-sequence": "2.2.1",
"sass-lint": "1.12.1",
"sass-loader": "6.0.6",
"sinon": "4.1.4",
"through2": "2.0.3",
"uglifyjs-webpack-plugin": "1.1.6",
"url-loader": "0.6.2",
"vinyl-source-stream": "2.0.0",
"webpack": "3.10.0",
"webpack-bundle-analyzer": "2.9.2",
"webpack-dev-server": "^2.9.5",
"write-file-webpack-plugin": "^4.2.0",
"yamljs": "0.3.0"
},
"directories": {
"doc": "docs"
},
"homepage": "https://github.com/mozilla/testpilot#readme",
"license": "MPL-2.0",
"private": "true",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla/testpilot.git"
},
"scripts": {
"bootstrap": "npm install && cd addon && npm install && cd .. && gulp",
"start": "cross-env NODE_ENV=development ENABLE_DEV_LOCALES=1 ENABLE_DEV_CONTENT=1 npm-run-all build:json build:gulp watch",
"watch": "npm-run-all --parallel watch:*",
"watch:gulp": "gulp watch",
"watch:webpack": "webpack-dev-server --watch --progress --colors",
"watch:lint": "npm-run-all --parallel watch:lint:*",
"watch:lint:styles": "onchange -p -v 'frontend/src/styles/**/*.scss' 'frontend/src/app/**/*.scss' -- sass-lint --verbose {{changed}}",
"watch:lint:js": "onchange -p -v ./gulpfile.babel.js ./webpack.config.js './frontend/{src,tests}/**/*.{js,jsx}' -- eslint {{changed}}",
"build:json": "node bin/build-content-json.js",
"build:gulp": "gulp build",
"build:gulp-dist": "gulp dist-build",
"build:webpack": "webpack -p",
"analyzer": "cross-env ANALYZER=1 webpack --watch --progress --colors",
"server": "node ./bin/dev-server.js",
"server:dist": "cross-env STATIC_ROOT=dist node ./bin/dev-server.js",
"static": "cross-env NODE_ENV=production npm-run-all build:json build:webpack build:gulp build:gulp-dist",
"docs": "doctoc README.md && doctoc addon/README.md",
"lint": "npm-run-all lint:*",
"lint:styles": "sass-lint --verbose 'frontend/src/styles/**/*.scss' 'frontend/src/app/**/*.scss'",
"lint:js": "eslint ./gulpfile.babel.js ./webpack.config.js './frontend/{src,tests}/**/*.{js,jsx}'",
"test": "cd frontend && mocha --require babel-register --require test-setup.js --recursive \"test\" \"src/**/tests.js\"",
"flow": "flow frontend",
"l10n:extract": "node bin/extract-strings.js",
"l10n:check": "npm run l10n:extract && git diff-files --quiet --ignore-all-space locales && echo 'No missing strings'",
"test:ci": "cross-env NODE_ENV=test nyc mocha --recursive --reporter mocha-junit-reporter --require frontend/test-setup.js frontend/test 'frontend/src/**/tests.js'",
"test:watch": "npm test -- --watch",
"test:all": "npm-run-all lint flow test flow-coverage && cd addon && npm-run-all lint test && tox -e ui-tests",
"coverage": "cross-env NODE_ENV=test nyc mocha --recursive --require frontend/test-setup.js frontend/test",
"flow-coverage": "cd frontend && flow-coverage-report --threshold 50 -i 'src/**/*.js' -t html -o coverage/flow",
"addon:locales": "gulp addon-copy-locales",
"package": "cd addon && npm install && npm run package && cp addon.xpi ..",
"content": "gulp content-build",
"storybook": "start-storybook -s ./frontend/build -p 6006",
"build-storybook": "build-storybook -o ./frontend/build/storybook"
}
}