-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.52 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
{
"description": "Dave's Alternate View Interpretation",
"main": "./src/index.js",
"repository": "github:ifyoumakeit/davey",
"author": "Dave Garwacke <[email protected]>",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*",
"examples/*"
],
"dependencies": {},
"devDependencies": {
"@types/jest": "^22.2.2",
"@types/node": "^9.6.0",
"commitizen": "^2.9.6",
"conventional-changelog": "^1.1.24",
"cz-conventional-changelog": "^2.1.0",
"jest": "^22.4.3",
"lerna": "^2.11.0",
"microbundle": "^0.4.4",
"pkgtoc": "^0.1.1",
"ts-jest": "^22.4.2",
"ts-node": "^5.0.1",
"typescript": "^2.7.2"
},
"scripts": {
"commit": "git add . && git cz",
"publish": "yarn build && yarn test && yarn lerna publish",
"clean": "yarn clean:davey && yarn clean:davey-dom && yarn clean:davey-server && yarn clean:davey-store",
"clean:davey": "rm -rf packages/davey/lib",
"clean:davey-dom": "rm -rf packages/davey-dom/lib",
"clean:davey-server": "rm -rf packages/davey-server/lib",
"clean:davey-store": "rm -rf packages/davey-store/lib",
"build": "yarn build:davey & yarn build:davey-dom & yarn build:davey-server & yarn build:davey-store",
"build:davey": "microbundle --cwd packages/davey",
"build:davey-dom": "microbundle --cwd packages/davey-dom",
"build:davey-server": "microbundle --cwd packages/davey-server",
"build:davey-store": "microbundle --cwd packages/davey-store",
"test": "jest",
"test:davey": "jest 'packages/davey/.*'",
"test:davey-dom": "jest 'packages/davey-dom/.*'",
"test:davey-server": "jest 'packages/davey-server/.*'",
"test:davey-store": "jest 'packages/davey-store/.*'"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"collectCoverage": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"davey$": "<rootDir>/packages/davey/index.ts",
"davey-dom$": "<rootDir>/packages/davey-dom/index.ts",
"davey-server$": "<rootDir>/packages/davey-server/index.ts",
"davey-store$": "<rootDir>/packages/davey-store/index.ts"
},
"testPathIgnorePatterns": [
"/packages/davey/lib/",
"/packages/davey-dom/lib/",
"/packages/davey-server/lib/",
"/packages/davey-store/lib/"
]
}
}