forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
191 lines (191 loc) · 7.13 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
{
"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": ">=6.9.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 -- --setenv MOZ_HEADLESS=1 --",
"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",
"storybook": "start-storybook -p 6006",
"snapshot": "NODE_ENV='development' build-storybook && percy-storybook",
"postcheckout": "node bin/post-checkout.js",
"postmerge": "node bin/post-merge.js",
"postrewrite": "node bin/post-rewrite.js",
"precommit": "lint-staged",
"prepush": "run-p lint test flow",
"nom": "node bin/nom",
"build-storybook": "build-storybook",
"diff": "node bin/diff",
"install": "prettier --write package.json"
},
"dependencies": {
"babel-preset-env": "^1.6.1",
"babel-traverse": "^6.26.0",
"babel-types": "^6.26.0",
"babylon": "^6.18.0",
"codemirror": "^5.28.0",
"devtools-components": "^0.0.2",
"devtools-launchpad": "^0.0.113",
"devtools-linters": "^0.0.4",
"devtools-map-bindings": "^0.3.2",
"devtools-reps": "^0.19.1",
"devtools-source-map": "^0.14.7",
"devtools-splitter": "^0.0.6",
"devtools-utils": "^0.0.10",
"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.3",
"pretty-fast": "^0.2.3",
"prop-types": "^15.6.0",
"react": "^15.6.2",
"react-dom": "^15.6.2",
"react-immutable-proptypes": "^2.1.0",
"react-inlinesvg": "^0.7.4",
"react-redux": "^5.0.6",
"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": {
"@percy-io/react-percy-storybook": "^1.0.2",
"@storybook/react": "^3.2.5",
"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-react": "^6.24.1",
"chalk": "^2.1.0",
"copy-paste": "^1.3.0",
"devtools-license-check": "^0.6.0",
"documentation": "^5.2.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-15": "1.0.5",
"enzyme-to-json": "3.3.0",
"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.6.0",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.2.1",
"expect.js": "^0.3.1",
"flow-bin": "0.63.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.0.1",
"jest-localstorage-mock": "^1.1.1",
"jest-serializer-babel-ast": "^0.0.5",
"lint-staged": "^6.0.1",
"mochii": "^0.0.20",
"mock-require": "^3.0.0",
"node-emoji": "^1.8.1",
"npm-run-all": "^4.0.2",
"prettier": "^1.6.1",
"react-addons-perf": "^15.4.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": "^8.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": {
"rootDir": "src",
"testMatch": ["**/tests/**/*.js"],
"testPathIgnorePatterns": ["/node_modules/", "/helpers/", "/fixtures/"],
"transformIgnorePatterns": ["node_modules/(?!devtools-)"],
"setupFiles": ["<rootDir>/test/tests-setup.js", "jest-localstorage-mock"],
"snapshotSerializers": [
"jest-serializer-babel-ast",
"enzyme-to-json/serializer"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/tests-framework.js",
"moduleNameMapper": {
"\\.css$": "<rootDir>/test/__mocks__/styleMock.js",
"\\.svg$": "<rootDir>/test/__mocks__/svgMock.js"
}
}
}