This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
016bccc
commit 15cbd70
Showing
3 changed files
with
45 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,32 +18,42 @@ | |
"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", | ||
"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-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", | ||
"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 --", | ||
"mochici": "mochii --mc ./firefox --ci --default-test-path devtools/client/debugger/new --headless --", | ||
"mochici": | ||
"mochii --mc ./firefox --ci --default-test-path devtools/client/debugger/new --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/", | ||
"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", | ||
"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", | ||
|
@@ -85,18 +95,9 @@ | |
"svg-inline-react": "^3.0.0", | ||
"wasmparser": "^0.6.0" | ||
}, | ||
"files": [ | ||
"src", | ||
"assets" | ||
], | ||
"files": ["src", "assets"], | ||
"greenkeeper": { | ||
"ignore": [ | ||
"react", | ||
"react-dom", | ||
"react-redux", | ||
"redux", | ||
"codemirror" | ||
] | ||
"ignore": ["react", "react-dom", "react-redux", "redux", "codemirror"] | ||
}, | ||
"main": "src/main.js", | ||
"author": "Jason Laster <[email protected]>", | ||
|
@@ -160,26 +161,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" | ||
] | ||
"*.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": [ | ||
|
@@ -197,14 +183,9 @@ | |
"!**/*.mock.js", | ||
"!**/*.spec.js" | ||
], | ||
"transformIgnorePatterns": [ | ||
"node_modules/(?!devtools-)" | ||
], | ||
"transformIgnorePatterns": ["node_modules/(?!devtools-)"], | ||
"setupTestFrameworkScriptFile": "<rootDir>/src/test/tests-setup.js", | ||
"setupFiles": [ | ||
"<rootDir>/src/test/shim.js", | ||
"jest-localstorage-mock" | ||
], | ||
"setupFiles": ["<rootDir>/src/test/shim.js", "jest-localstorage-mock"], | ||
"snapshotSerializers": [ | ||
"jest-serializer-babel-ast", | ||
"enzyme-to-json/serializer" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters