-
Notifications
You must be signed in to change notification settings - Fork 71
/
package.json
69 lines (69 loc) · 1.89 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
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "node scripts/build.js",
"check": "yarn build && yarn lint && yarn test",
"check:api": "jest scripts/api.test.ts",
"clean": "rimraf packages/**/dist packages/**/yarn-error.log _book yarn-error.log",
"docs:build": "yarn run docs:prepare && rm -rf _book && gitbook build",
"docs:prepare": "gitbook install",
"docs:publish": "yarn run docs:build && cd _book && git init && git commit --allow-empty -m 'Update docs' && git checkout -b gh-pages && git add . && git commit -am 'Update docs' && git push [email protected]:rangle/redux-beacon gh-pages --force",
"docs:watch": "yarn run docs:prepare && gitbook serve",
"lint": "tslint 'packages/**/*.ts' -e 'packages/**/dist/*'",
"precommit": "lint-staged",
"prettier": "prettier --write",
"test": "jest"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$",
"testURL": "http://localhost/",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testPathIgnorePatterns": [
"<rootDir>/_book/",
"<rootDir>/node_modules/",
"mocks.ts",
"mock.ts",
"dist",
"__snapshots__"
]
},
"lint-staged": {
"*.ts": [
"yarn prettier",
"git add"
]
},
"devDependencies": {
"@types/jest": "22.1.4",
"@types/joi": "13.0.5",
"consolemock": "1.0.4",
"execa": "1.0.0",
"fake-indexeddb": "2.0.4",
"glob": "7.1.2",
"husky": "0.14.3",
"jest": "22.4.2",
"joi": "10.5.2",
"lint-staged": "7.0.0",
"logalot": "2.1.0",
"mkdirp": "0.5.1",
"moment": "2.21.0",
"prettier": "1.11.0",
"redux": "3.6.0",
"rimraf": "2.6.2",
"ts-jest": "22.4.1",
"tslint": "5.9.1",
"tslint-config-prettier": "1.9.0",
"typescript": "2.7.2",
"write": "1.0.3"
}
}