forked from firefox-devtools/profiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
157 lines (157 loc) · 5.15 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
{
"name": "perf.html",
"version": "0.0.1",
"description": "perf.html, the gecko profiler UI",
"main": "src/index.js",
"scripts": {
"build:clean": "rimraf dist && mkdirp dist && cp res/.htaccess res/zee-worker.js res/analytics.js dist/",
"build:quiet": "yarn build:clean && env NODE_ENV=development webpack",
"build": "yarn build:quiet --progress",
"build-prod:quiet": "yarn build:clean && env NODE_ENV=production webpack",
"build-prod": "yarn build-prod:quiet --progress",
"build-prod-readable": "env UGLIFY_OPTIONS='{ \"mangle\": false }' yarn build-prod",
"lint": "eslint *.js bin src",
"lint-fix": "yarn lint --fix",
"flow": "flow",
"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",
"postcheckout": "node bin/post-checkout.js",
"postmerge": "node bin/post-merge.js",
"precommit": "lint-staged",
"preinstall": "node bin/pre-install.js",
"prepush": "yarn test-all",
"postrewrite": "node bin/post-rewrite.js",
"publish": "rimraf public_html && cp -r dist public_html",
"serve-static": "ws -d dist/ -s index.html -p 4242",
"start": "yarn build:clean && env NODE_ENV=development node server.js",
"start-prod": "yarn build-prod && yarn serve-static",
"start-prod-readable": "yarn build-prod-readable && yarn serve-static",
"start-examples": "ws -d examples/ -s index.html -p 4242",
"start-docs": "docsify serve ./docs-user",
"test": "env NODE_ENV=test jest",
"test-all": "run-p flow license-check lint test"
},
"author": "Markus Stange <[email protected]>",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/devtools-html/perf.html"
},
"dependencies": {
"array-move": "^1.0.0",
"array-range": "^1.0.1",
"babel-runtime": "^6.26.0",
"bisection": "0.0.3",
"clamp": "^1.0.1",
"classnames": "^2.2.5",
"common-tags": "^1.7.2",
"copy-to-clipboard": "^3.0.8",
"escape-string-regexp": "^1.0.5",
"jszip": "^3.1.5",
"memoize-immutable": "^3.0.0",
"offline-plugin": "^4.9.0",
"photon-colors": "2.0.1",
"prop-types": "^15.6.0",
"query-string": "^5.1.0",
"react": "^16.2.0",
"react-contextmenu": "^2.9.2",
"react-dom": "^16.2.0",
"react-redux": "^5.0.6",
"react-splitter-layout": "^3.0.0",
"react-transition-group": "^2.2.1",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"url": "^0.11.0",
"weaktuplemap": "^1.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^22.4.1",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"copy-webpack-plugin": "^4.5.1",
"css-loader": "^0.28.9",
"devtools-license-check": "^0.6.0",
"docsify-cli": "^4.2.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.1",
"eslint": "^4.12.0",
"eslint-config-prettier": "^2.4.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-flowtype": "^2.39.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.5.1",
"express": "^4.16.2",
"fake-indexeddb": "^2.0.4",
"file-loader": "^1.1.6",
"flow-bin": "^0.70.0",
"flow-coverage-report": "^0.5.0",
"flow-typed": "^2.3.0",
"glob": "^7.1.2",
"html-webpack-plugin": "^2.30.1",
"http-server": "^0.11.1",
"husky": "^0.14.3",
"jest": "^22.4.2",
"json-loader": "^0.5.7",
"lint-staged": "^6.1.0",
"local-web-server": "^2.4.0",
"lodash.clonedeep": "^4.5.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.2",
"prettier": "^1.10.2",
"raw-loader": "^0.5.1",
"react-test-renderer": "^16.2.0",
"rimraf": "^2.6.2",
"sinon": "^4.3.0",
"style-loader": "^0.20.1",
"uglifyjs-webpack-plugin": "^1.2.3",
"webpack": "^3.11.0",
"webpack-dev-server": "^2.11.1",
"workerjs": "github:jasonLaster/workerjs"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!**/node_modules/**",
"!src/types/libdef/**"
],
"testEnvironment": "jsdom",
"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"
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"restoreMocks": true,
"resetMocks": true,
"setupTestFrameworkScriptFile": "./src/test/setup.js",
"verbose": true
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
}
}