-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 2.36 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
{
"private": true,
"name": "xrc-repo",
"version": "0.2.0",
"license": "MIT",
"author": "Matthew Wagerfield <[email protected]>",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "tslint 'packages/**/*.{ts,tsx}' --format codeFrame",
"lint:fix": "yarn lint --fix",
"format": "prettier '**/*.{js,jsx,json,ts,tsx,md}'",
"format:check": "yarn format --check",
"format:write": "yarn format --write",
"copy": "cpx readme.md packages/xrc && cpx readme.md packages/xrc-app",
"clean": "rimraf coverage 'packages/*/{artifacts,cjs,dist,esm,lib,tmp,types}'",
"types": "lerna exec --ignore xrc-app -- tsc --emitDeclarationOnly",
"build": "lerna exec --ignore xrc-app -- tsc",
"bundle": "rollup --config",
"bundle:watch": "rollup --config --watch",
"app:start": "lerna run start --parallel --scope xrc-app",
"app:build": "lerna run build --parallel --scope xrc-app",
"app:stage": "lerna run stage --parallel --scope xrc-app",
"app:stats": "lerna run stats --parallel --scope xrc-app",
"app:serve": "lerna run serve --parallel --scope xrc-app",
"preflight": "yarn clean && yarn types && yarn bundle && yarn format:write",
"prepublishOnly": "yarn preflight",
"release": "lerna publish"
},
"workspaces": [
"packages/*"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier --write",
"tslint --fix",
"jest --findRelatedTests",
"git add"
],
"**/*.{js,jsx,json,md}": [
"prettier --write",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "9.1.1",
"@commitlint/config-conventional": "9.1.1",
"@types/jest": "26.0.9",
"cpx": "1.5.0",
"glob": "7.1.6",
"husky": "4.2.5",
"jest": "26.2.2",
"lerna": "3.22.1",
"lint-staged": "10.2.11",
"prettier": "2.0.5",
"rimraf": "3.0.2",
"rollup": "2.23.1",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-prettier": "2.1.0",
"rollup-plugin-size-snapshot": "0.12.0",
"rollup-plugin-typescript": "1.0.1",
"ts-jest": "26.1.4",
"tslib": "2.0.1",
"tslint": "6.1.3",
"typescript": "3.9.7"
}
}