forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
195 lines (195 loc) · 7.01 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"name": "debugger.html",
"version": "0.6.0",
"license": "MPL-2.0",
"repository": {
"url": "git://github.com/devtools-html/debugger.html.git",
"type": "git"
},
"bugs": {
"url": "https://github.com/devtools-html/debugger.html/issues"
},
"homepage": "https://github.com/devtools-html/debugger.html#readme",
"engineStrict": true,
"engines": {
"node": ">=7.7.0"
},
"scripts": {
"start": "node bin/dev-server",
"start-app": "TARGET=application node bin/dev-server",
"flow": "flow",
"eslint-check":
"eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"prettier": "node bin/prettier.js",
"license-check": "devtools-license-check",
"links": "ls -l node_modules/ | grep ^l || echo 'no linked packages'",
"lint": "run-p lint-css lint-js lint-md",
"lint-css": "stylelint \"src/components/**/*.css\"",
"lint-js": "eslint *.js \"src/**/*.js\" --fix",
"lint-md":
"remark -u devtools-linters/markdown/preset -qf *.md src configs docs",
"lint-fix": "yarn lint-js -- --fix",
"mochi":
"mochii --mc ./firefox --interactive --default-test-path devtools/client/debugger/new",
"mochid": "yarn mochi -- --jsdebugger --",
"mochir": "yarn mochi -- --repeat 10 --",
"mochih": "yarn mochi -- --headless --",
"test": "jest",
"test:watch": "jest --watch",
"test-coverage": "yarn test -- --coverage",
"test-all": "yarn test; yarn lint; yarn flow",
"firefox":
"start-firefox --start --location https://devtools-html.github.io/debugger-examples/",
"chrome":
"start-chrome --location https://devtools-html.github.io/debugger-examples/",
"copy-assets": "node bin/copy-assets --symlink",
"copy-assets-watch": "node bin/copy-assets --watch --symlink",
"build-docs":
"documentation build --format html --sort-order alpha --shallow --document-exported --output docs/reference/ src/types.js src/utils/ src/reducers/ src/actions/ src/test/mochitest/head.js",
"flow-coverage":
"flow-coverage-report --threshold 50 -i 'src/actions/*.js' -i 'src/reducers/*.js' -i 'src/utils/*.js' -i 'src/components/*.js' -i 'src/components/**/*.js' -t html -t text",
"flow-utils":
"flow-coverage-report -i 'src/utils/*.js' -i 'src/utils/**/*.js' -t text",
"flow-redux":
"flow-coverage-report -i 'src/reducers/*.js' -i 'src/actions/*.js' -t text",
"flow-react": "flow-coverage-report -i 'src/components/**/*.js' -t text",
"postcheckout": "node bin/post-checkout.js",
"postmerge": "node bin/post-merge.js",
"postrewrite": "node bin/post-rewrite.js",
"precommit": "yarn lint-staged",
"prepush": "yarn lint",
"nom": "node bin/nom",
"diff": "node bin/diff",
"install": "prettier --write package.json"
},
"dependencies": {
"@babel/types": "^7.0.0-beta.39",
"babylon": "^7.0.0-beta.39",
"codemirror": "^5.28.0",
"devtools-launchpad": "^0.0.117",
"devtools-linters": "^0.0.4",
"devtools-reps": "^0.20.0",
"devtools-source-map": "^0.14.8",
"devtools-splitter": "^0.0.6",
"devtools-utils": "^0.0.11",
"enzyme-adapter-react-16": "^1.1.1",
"eslint-plugin-import": "^2.8.0",
"fuzzaldrin-plus": "^0.6.0",
"immutable": "^3.8.2",
"lodash": "^4.17.4",
"lodash.kebabcase": "^4.1.1",
"md5": "^2.2.1",
"parse-script-tags": "^0.1.6",
"pretty-fast": "^0.2.3",
"prop-types": "^15.6.0",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-immutable-proptypes": "^2.1.0",
"react-inlinesvg": "^0.7.4",
"react-redux": "^5.0.7",
"react-transition-group": "^2.2.1",
"redux-saga": "^0.16.0",
"reselect": "^3.0.1",
"svg-inline-react": "^3.0.0",
"wasmparser": "^0.5.2"
},
"files": ["src", "assets"],
"greenkeeper": {
"ignore": ["react", "react-dom", "react-redux", "redux", "codemirror"]
},
"main": "src/main.js",
"author": "Jason Laster <[email protected]>",
"devDependencies": {
"babel-eslint": "^8.2.1",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"chalk": "^2.1.0",
"copy-paste": "^1.3.0",
"devtools-license-check": "^0.7.0",
"documentation": "^5.2.1",
"enzyme": "^3.3.0",
"enzyme-to-json": "3.3.1",
"eslint": "^4.2.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-flowtype": "^2.36.0",
"eslint-plugin-jest": "^21.5.0",
"eslint-plugin-mozilla": "^0.9.0",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.2.1",
"expect.js": "^0.3.1",
"flow-bin": "0.67.1",
"glob": "^7.0.3",
"husky": "^0.14.2",
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"jest-in-case": "^1.0.2",
"jest-junit-reporter": "^1.1.0",
"jest-localstorage-mock": "^2.2.0",
"jest-serializer-babel-ast": "^0.0.5",
"lint-staged": "^7.0.0",
"mochii": "^0.0.26",
"mock-require": "^3.0.0",
"node-emoji": "^1.8.1",
"npm-run-all": "^4.0.2",
"prettier": "^1.10.2",
"react-test-renderer": "15.6.2",
"remark-cli": "^5.0.0",
"remark-lint": "^6.0.1",
"remark-lint-list-item-bullet-indent": "^1.0.1",
"remark-lint-list-item-indent": "^1.0.1",
"remark-lint-no-shortcut-reference-image": "^1.0.1",
"remark-lint-no-shortcut-reference-link": "^1.0.2",
"remark-lint-no-table-indentation": "^1.0.0",
"remark-lint-no-unused-definitions": "^1.0.1",
"remark-lint-ordered-list-marker-style": "^1.0.1",
"remark-lint-table-cell-padding": "^1.0.0",
"remark-lint-table-pipes": "^1.0.0",
"remark-preset-lint-recommended": "^3.0.0",
"remark-validate-links": "^6.1.0",
"rimraf": "^2.6.1",
"single-line-log": "^1.1.2",
"stylelint": "^9.0.0",
"webpack": "^3.5.5",
"webpack-visualizer-plugin": "^0.1.11",
"workerjs": "github:jasonLaster/workerjs"
},
"lint-staged": {
"*.js": ["prettier", "git add"],
"src/*.js": ["prettier", "git add"],
"src/*/*.js": ["prettier", "git add"],
"src/*/!(mochitest)**/*.js": ["prettier", "git add"],
"src/*/!(mochitest)*/**/*.js": ["prettier", "git add"]
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/helpers/",
"/fixtures/",
"src/test/mochitest/examples/",
"<rootDir>/firefox"
],
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/fixtures/*.js",
"!src/test/**/*.js",
"!src/components/stories/**/*.js",
"!**/*.mock.js",
"!**/*.spec.js"
],
"transformIgnorePatterns": ["node_modules/(?!devtools-)"],
"setupTestFrameworkScriptFile": "<rootDir>/src/test/tests-setup.js",
"setupFiles": ["<rootDir>/src/test/shim.js", "jest-localstorage-mock"],
"snapshotSerializers": [
"jest-serializer-babel-ast",
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"\\.css$": "<rootDir>/src/test/__mocks__/styleMock.js",
"\\.svg$": "<rootDir>/src/test/__mocks__/svgMock.js"
}
}
}