-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.8 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
{
"name": "react-chain-project",
"version": "0.1.0",
"description": "A chain of pluggable logic for your React rendering pipline.",
"repository": "git@github.com:aranja/react-chain.git",
"author": "Aranja",
"license": "MIT",
"private": true,
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2"
},
"devDependencies": {
"@types/enzyme": "^2.7.6",
"@types/jest": "^19.2.2",
"@types/react": "^15.0.0",
"@types/react-dom": "^0.14.23",
"babel-jest": "^19.0.0",
"babel-preset-es2015": "^6.24.0",
"babel-preset-react": "^6.23.0",
"codecov": "^2.1.0",
"enzyme": "^2.7.1",
"jest": "^19.0.2",
"lerna": "2.0.0-rc.1",
"react-addons-test-utils": "^15.4.2",
"react-test-renderer": "^15.4.2",
"ts-jest": "^19.0.3",
"tslint": "^5.0.0",
"typescript": "^2.2.1"
},
"scripts": {
"bootstrap": "lerna bootstrap --hoist",
"build": "lerna run prepublish",
"clean": "lerna clean",
"lerna": "lerna",
"lint": "./scripts/lint.sh",
"postinstall": "npm run bootstrap",
"watch": "lerna run watch --stream --no-sort",
"test": "jest",
"test-ci": "npm run lint && jest --runInBand --coverage && codecov"
},
"jest": {
"collectCoverageFrom": [
"**/packages/*/src/**/*",
"!**/lib/**",
"!**/__mocks__/**",
"!**/__tests__/**"
],
"coverageReporters": [
"json"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testResultsProcessor": "<rootDir>/node_modules/ts-jest/coverageprocessor.js",
"testPathIgnorePatterns": [
"/node_modules/",
"lib",
"\\.snap$"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}