forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
171 lines (171 loc) Β· 6.14 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
{
"private": true,
"devDependencies": {
"ansi-regex": "^3.0.0",
"ansi-styles": "^3.2.0",
"babel-core": "^6.23.1",
"babel-eslint": "^7.2.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-syntax-trailing-function-commas": "^6.13.0",
"babel-plugin-transform-async-to-generator": "^6.16.0",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-es2015-parameters": "^6.23.0",
"babel-plugin-transform-es2015-spread": "^6.22.0",
"babel-plugin-transform-flow-strip-types": "^6.18.0",
"babel-plugin-transform-inline-imports-commonjs": "^1.2.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-transform-strict-mode": "^6.24.1",
"babel-preset-env": "^1.4.0",
"babel-preset-react": "^6.24.1",
"babel-preset-react-native": "^4.0.0",
"babel-register": "^6.26.0",
"browserify": "^16.1.0",
"chalk": "^2.0.1",
"codecov": "^3.0.0",
"cross-spawn": "^6.0.4",
"debug": "^3.0.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "~4.13.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jest": "^21.0.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-relay": "~0.0.19",
"flow-bin": "^0.66.0",
"glob": "^7.1.1",
"graceful-fs": "^4.1.11",
"immutable": "^4.0.0-rc.7",
"istanbul-api": "^1.3.1",
"istanbul-lib-coverage": "^1.0.0",
"jasmine-reporters": "^2.2.0",
"jest-silent-reporter": "^0.0.4",
"jquery": "^3.2.1",
"karma": "^2.0.0",
"karma-browserify": "^5.1.1",
"karma-chrome-launcher": "^2.1.1",
"karma-mocha": "^1.3.0",
"left-pad": "^1.1.1",
"lerna": "2.9.0",
"micromatch": "^2.3.11",
"mkdirp": "^0.5.1",
"mocha": "^5.0.1",
"mock-fs": "^4.4.1",
"prettier": "^1.11.0",
"prettylint": "^1.0.0",
"progress": "^2.0.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"regenerator-runtime": "^0.11.0",
"resolve": "^1.4.0",
"rimraf": "^2.6.2",
"rollup": "^0.56.2",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.1",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-json": "^2.1.1",
"rollup-plugin-node-builtins": "^2.1.1",
"rollup-plugin-node-globals": "^1.1.0",
"rollup-plugin-node-resolve": "^3.0.0",
"slash": "^1.0.0",
"string-length": "^2.0.0",
"strip-ansi": "^4.0.0",
"typescript": "^2.2.2",
"watchify": "^3.9.0"
},
"scripts": {
"build-clean": "rm -rf ./packages/*/build ./packages/*/build-es5",
"build": "node ./scripts/build.js",
"clean-all": "rm -rf ./node_modules && rm -rf ./packages/*/node_modules && rm -rf ./integration-tests/*/*/node_modules && yarn build-clean",
"jest": "node ./packages/jest-cli/bin/jest.js",
"jest-coverage": "yarn jest --coverage",
"lint": "eslint . --cache --ext js,md",
"lint-es5-build": "eslint --no-eslintrc --no-ignore --env=browser packages/*/build-es5",
"lint:md": "yarn --silent lint:md:ci --fix",
"lint:md:ci": "prettylint '**/*.md' --ignore-path .gitignore",
"postinstall": "yarn build",
"publish": "yarn build-clean && yarn build && lerna publish --silent",
"test-ci-es5-build-in-browser": "karma start --single-run",
"test-ci": "yarn typecheck && yarn lint && yarn lint-es5-build && yarn lint:md:ci && yarn jest-coverage -i --reporters jest-silent-reporter && node scripts/mapCoverage.js && codecov",
"test-ci-partial": "yarn jest -i --reporters jest-silent-reporter",
"test-pretty-format-perf": "node packages/pretty-format/perf/test.js",
"test": "yarn typecheck && yarn lint && yarn jest",
"typecheck": "flow check --include-warnings",
"watch": "yarn build && node ./scripts/watch.js"
},
"workspaces": [
"packages/*",
"website",
"examples/react-native"
],
"jest": {
"modulePathIgnorePatterns": [
"examples/.*",
"packages/.*/build",
"packages/.*/build-es5",
"packages/jest-runtime/src/__tests__/test_root.*",
"website/.*",
"integration-tests/runtime-internal-module-registry/__mocks__"
],
"collectCoverageFrom": [
"**/packages/jest-*/**/*.js",
"**/packages/eslint-*/**/*.js",
"**/packages/pretty-format/**/*.js",
"!**/bin/**",
"!**/cli/**",
"!**/perf/**",
"!**/__mocks__/**",
"!**/__tests__/**",
"!integration-tests/**"
],
"coverageReporters": [
"json"
],
"projects": [
"<rootDir>",
"<rootDir>/examples/*/"
],
"transform": {
"^.+\\.js$": "<rootDir>/packages/babel-jest"
},
"setupTestFrameworkScriptFile": "<rootDir>/testSetupFile.js",
"snapshotSerializers": [
"<rootDir>/packages/pretty-format/build/plugins/convert_ansi.js"
],
"testEnvironment": "./packages/jest-environment-node",
"testPathIgnorePatterns": [
"/node_modules/",
"/examples/",
"/integration-tests/.*/__tests__",
"\\.snap$",
"/packages/.*/build",
"/packages/.*/build-es5",
"/packages/.*/src/__tests__/expect_util.js",
"/packages/jest-cli/src/__tests__/test_root",
"/packages/jest-cli/src/__tests__/__fixtures__/",
"/packages/jest-haste-map/src/__tests__/haste_impl.js",
"/packages/jest-resolve-dependencies/src/__tests__/__fixtures__/",
"/packages/jest-runtime/src/__tests__/defaultResolver.js",
"/packages/jest-runtime/src/__tests__/module_dir/",
"/packages/jest-runtime/src/__tests__/NODE_PATH_dir",
"/packages/jest-snapshot/src/__tests__/plugins",
"/packages/jest-validate/src/__tests__/fixtures/",
"/packages/jest-worker/src/__performance_tests__",
"/packages/pretty-format/perf/test.js",
"/integration-tests/__tests__/iterator-to-null-test.js"
]
},
"prettier": {
"bracketSpacing": false,
"proseWrap": "always",
"singleQuote": true,
"trailingComma": "all"
}
}