forked from firefox-devtools/profiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
175 lines (175 loc) · 6.16 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
174
175
{
"name": "firefox-profiler",
"version": "0.0.1",
"description": "Firefox Profiler",
"main": "src/index.js",
"scripts": {
"build:clean": "rimraf dist && mkdirp dist",
"build:quiet": "yarn build:clean && cross-env NODE_ENV=development webpack",
"build": "yarn build:quiet --progress",
"build-prod:quiet": "yarn build:clean && yarn build-photon && cross-env NODE_ENV=production webpack",
"build-prod": "yarn build-prod:quiet --progress",
"build-photon": "webpack --config res/photon/webpack.config.js",
"lint": "run-p lint-js lint-css",
"lint-js": "eslint *.js bin src",
"lint-fix-js": "yarn lint-js --fix",
"lint-css": "stylelint 'src/**/*.css' 'res/css/**/*.css'",
"lint-fix-css": "yarn lint-css --fix",
"prettier-json": "prettier --write src/**/*.json",
"flow": "flow --max-warnings 0",
"flow:ci": "flow check --max-warnings 0",
"flow-stop": "flow stop",
"flow-coverage": "flow-coverage-report -i 'src/**/*.js' -t html -t text",
"flow-generate-libdefs": "flow-typed install --libdefDir src/types/libdef",
"init-docs": "gitbook install ./docs-user",
"license-check": "devtools-license-check",
"preinstall": "node bin/pre-install.js",
"publish": "rimraf public_html && cp -r dist public_html",
"serve-static": "ws -d dist/ -s index.html -p 4242",
"start": "yarn build:clean && cross-env NODE_ENV=development node server.js",
"start-prod": "yarn build-prod && yarn serve-static",
"start-examples": "ws -d examples/ -s index.html -p 4242",
"start-docs": "docsify serve ./docs-user",
"start-photon": "node res/photon/server",
"test": "cross-env LC_ALL=C NODE_ENV=test NODE_OPTIONS=--experimental-worker jest",
"test-all": "run-p --max-parallel 4 flow license-check lint test test-alex test-lockfile",
"test-build-coverage": "jest --coverage --coverageReporters=html",
"test-serve-coverage": "ws -d coverage/ -p 4343",
"test-coverage": "run-s test-build-coverage test-serve-coverage",
"test-alex": "alex ./docs-* *.md",
"test-lockfile": "lockfile-lint --path yarn.lock --allowed-hosts yarn --validate-https",
"test-debug": "node --inspect-brk node_modules/.bin/jest --runInBand"
},
"author": "Markus Stange <[email protected]>",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/firefox-devtools/profiler"
},
"dependencies": {
"@mstange/offline-plugin": "^5.0.6",
"array-move": "^1.0.0",
"array-range": "^1.0.1",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-runtime": "^6.26.0",
"bisection": "0.0.3",
"clamp": "^1.0.1",
"classnames": "^2.2.6",
"common-tags": "^1.8.0",
"copy-to-clipboard": "^3.1.0",
"escape-string-regexp": "^1.0.5",
"gecko-profiler-demangle": "^0.2.0",
"jszip": "^3.1.5",
"memoize-immutable": "^3.0.0",
"mixedtuplemap": "^1.0.0",
"namedtuplemap": "^1.0.0",
"photon-colors": "3.3.2",
"prop-types": "^15.7.2",
"query-string": "^6.3.0",
"react": "^16.8.6",
"react-contextmenu": "^2.9.2",
"react-dom": "^16.8.6",
"react-redux": "^5.0.6",
"react-splitter-layout": "^3.0.1",
"react-transition-group": "^2.6.0",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"reselect": "^4.0.0",
"url": "^0.11.0",
"weaktuplemap": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.3.4",
"@babel/plugin-proposal-class-properties": "7.3.4",
"@babel/plugin-proposal-object-rest-spread": "7.3.4",
"@babel/polyfill": "7.2.5",
"@babel/preset-env": "7.3.4",
"@babel/preset-flow": "7.0.0",
"@babel/preset-react": "7.0.0",
"alex": "^7.1.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.3.1",
"babel-loader": "^8.0.5",
"browserslist": "^4.6.6",
"caniuse-lite": "^1.0.30000989",
"circular-dependency-plugin": "^5.0.2",
"copy-webpack-plugin": "^5.0.0",
"cross-env": "^5.2.0",
"css-loader": "^2.1.0",
"cssnano": "^4.1.10",
"devtools-license-check": "^0.7.0",
"docsify-cli": "^4.3.0",
"eslint": "^4.18.2",
"eslint-config-prettier": "^2.4.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-flowtype": "^2.39.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.12.4",
"fake-indexeddb": "^2.0.5",
"file-loader": "^3.0.1",
"flow-bin": "^0.96.0",
"flow-coverage-report": "^0.6.1",
"flow-typed": "^2.3.0",
"glob": "^7.1.3",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.5",
"jest": "^24.3.1",
"jest-environment-jsdom-thirteen": "^1.0.0",
"json-loader": "^0.5.7",
"local-web-server": "^2.6.1",
"lockfile-lint": "^2.1.4",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"prettier": "^1.16.4",
"raw-loader": "^1.0.0",
"react-testing-library": "^6.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.7",
"style-loader": "^0.23.1",
"stylelint": "^9.10.1",
"stylelint-config-idiomatic-order": "^7.0.2",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-prettier": "^1.0.6",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!**/node_modules/**",
"!src/types/libdef/**"
],
"testEnvironment": "jest-environment-jsdom-thirteen",
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/test/fixtures/mocks/file-mock.js",
"\\.(css|less)$": "<rootDir>/src/test/fixtures/mocks/style-mock.js"
},
"setupFilesAfterEnv": [
"./src/test/setup.js"
],
"verbose": false
},
"husky": {
"hooks": {
"post-checkout": "node bin/post-checkout.js",
"post-merge": "node bin/post-merge.js",
"post-rewrite": "node bin/post-rewrite.js",
"pre-push": "yarn test-all"
}
}
}