forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.54 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
{
"private": true,
"devDependencies": {
"babel-core": "^6.14.0",
"babel-eslint": "^6.1.2",
"babel-plugin-syntax-trailing-function-commas": "^6.13.0",
"babel-plugin-transform-es2015-destructuring": "^6.9.0",
"babel-plugin-transform-es2015-parameters": "^6.11.4",
"babel-plugin-transform-flow-strip-types": "^6.14.0",
"chalk": "^1.1.3",
"eslint": "^3.4.0",
"codecov": "^1.0.1",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-flow-vars": "^0.5.0",
"eslint-plugin-react": "^6.2.0",
"flow-bin": "^0.31.1",
"glob": "^7.0.6",
"graceful-fs": "^4.1.6",
"istanbul-api": "^1.0.0-aplha.10",
"istanbul-lib-coverage": "^1.0.0",
"lerna": "2.0.0-beta.26",
"minimatch": "^3.0.3",
"mkdirp": "^0.5.1",
"progress": "^1.1.8",
"rimraf": "^2.5.4"
},
"scripts": {
"build-clean": "rm -rf ./packages/*/build",
"build": "node ./scripts/build.js",
"clean-all": "rm -rf ./packages/*/node_modules; rm -rf ./integration_tests/*/*/node_modules; npm run build-clean",
"jest": "node ./packages/jest-cli/bin/jest.js",
"jest-coverage": "npm run jest -- --coverage",
"lint": "eslint .",
"postinstall": "node ./scripts/postinstall.js && node ./scripts/build.js",
"publish": "npm run build-clean && npm run build && lerna publish",
"test": "npm run typecheck && npm run lint && npm run build && npm run jest && npm run test-examples",
"test-ci": "npm run typecheck && npm run lint && npm run build && npm run jest-coverage -- -i && npm run test-examples && node scripts/mapCoverage.js && codecov",
"test-examples": "node scripts/test_examples.js",
"typecheck": "flow check",
"watch": "npm run build; node ./scripts/watch.js"
},
"jest": {
"modulePathIgnorePatterns": [
"examples/.*",
"packages/.*/build"
],
"collectCoverageFrom": [
"**/packages/{jest-runtime,jest-matchers,jest-haste-map,jest-file-exists,jest-diff,jest-changed-files}/**/*.js",
"!**/bin/**",
"!**/cli/**",
"!**/fastpath.js",
"!**/vendor/**",
"!**/__mocks__/**",
"!**/__tests__/**",
"!integration_tests/**"
],
"coverageReporters": [
"json"
],
"scriptPreprocessor": "<rootDir>/packages/babel-jest",
"setupTestFrameworkScriptFile": "<rootDir>/testSetupFile.js",
"testEnvironment": "./packages/jest-environment-node",
"testPathIgnorePatterns": [
"/node_modules/",
"/examples/",
"integration_tests/.*/__tests__",
"\\.snap$",
"packages/.*/build"
],
"testRegex": ".*-test\\.js"
}
}