forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.73 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
{
"private": true,
"devDependencies": {
"babel-core": "^6.16.0",
"babel-eslint": "^7.0.0",
"babel-plugin-syntax-trailing-function-commas": "^6.13.0",
"babel-plugin-transform-es2015-destructuring": "^6.16.0",
"babel-plugin-transform-es2015-parameters": "^6.16.0",
"babel-plugin-transform-flow-strip-types": "^6.14.0",
"chalk": "^1.1.3",
"codecov": "^1.0.1",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-flow-vars": "^0.5.0",
"eslint-plugin-flowtype": "^2.19.0",
"eslint-plugin-react": "^6.3.0",
"eslint": "^3.6.1",
"flow-bin": "^0.33.0",
"glob": "^7.1.0",
"graceful-fs": "^4.1.9",
"istanbul-api": "^1.1.0-alpha.1",
"istanbul-lib-coverage": "^1.0.0",
"jasmine-reporters": "^2.2.0",
"jsdom": "^9.5.0",
"lerna": "2.0.0-beta.28",
"minimatch": "^3.0.3",
"mkdirp": "^0.5.1",
"progress": "^1.1.8",
"rimraf": "^2.5.4",
"strip-ansi": "^3.0.1"
},
"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",
"packages/jest-runtime/src/__tests__/test_root_with_dup_mocks"
],
"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"
}
}