-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
76 lines (76 loc) · 1.97 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
{
"name": "redux-dag-history-parent",
"version": "0.0.0",
"private": true,
"scripts": {
"precommit": "lint-staged",
"//prepush": "yarn lint",
"build": "lerna run build --stream",
"clean": "lerna run clean",
"prettify": "prettier \"packages/*/**/*.{js,jsx,ts,tsx}\"",
"lint": "tslint 'packages/*/{src,test}/**/*.ts*'",
"jest": "cross-env TS_JEST_DEBUG=true jest",
"jest:watch": "jest --watch",
"jest:coverage": "jest --coverage",
"start:middleware":
"lerna run start --scope @essex/redux-dag-history --stream",
"start:component":
"lerna run start --scope @essex/dag-history-component --stream",
"start:example":
"lerna run start --scope=@essex/dag-history-example --stream",
"packages:test": "lerna run test --stream",
"test": "run-s clean lint build jest:coverage",
"start": "npm-run-all clean build -p start:*"
},
"author": "Chris Trevino <[email protected]>",
"workspaces": ["packages/*"],
"lint-staged": {
"packages/**/*.{js,tsx}": [
"prettier --trailingComma=es5 --write",
"git add"
],
"packages/**/*.{ts,tsx}": [
"prettier --trailingComma=all --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"semi": false,
"useTabs": true
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"globals": {
"__TS_CONFIG__": {
"module": "commonjs"
},
"ts-jest": {
"tsConfigFile": "tsconfig.jest.json"
}
},
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
"moduleNameMapper": {
"\\.(css|scss)$": "<rootDir>/scripts/stub.js"
},
"testRegex": ".*/packages/.*/test/.*/.*\\.spec\\.(ts|tsx|js)$"
},
"devDependencies": {
"@types/jest": "^22.1.1",
"@types/redux-logger": "^2.6.34",
"cross-env": "^5.1.3",
"husky": "^0.14.3",
"jest": "^22.1.4",
"lerna": "^2.8.0",
"lint-staged": "^6.1.0",
"npm-run-all": "^4.1.2",
"prettier": "^1.10.2",
"redux-logger": "^2.8.2",
"ts-jest": "^22.0.3",
"tslint": "^5.9.1",
"tslint-react": "^3.4.0"
}
}