-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.93 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.93 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "git-client-workspace",
"version": "0.0.0",
"private": true,
"@rollingversions/ignore": true,
"workspaces": [
"packages/*"
],
"dependencies": {
"@babel/runtime": "^7.12.5",
"@forbeslindesay/tsconfig": "^2.0.0",
"@github-graph/api": "^2.2.1",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@sucrase/jest-plugin": "^2.0.0",
"@types/jest": "^25.2.1",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"chalk": "^4.1.2",
"copy-dir": "^1.3.0",
"husky": "^4.2.5",
"interrogator": "^1.1.0",
"is-builtin-module": "^3.0.0",
"jest": "^26.0.1",
"lint-staged": "^10.1.3",
"parameter-reducers": "^2.0.0",
"prettier": "^2.0.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.34.2",
"rollup-plugin-prettier": "^2.1.0",
"toml": "^3.0.0",
"tslint": "^6.1.1",
"typescript": "^3.8.3",
"wsrun": "^5.2.4"
},
"scripts": {
"http": "yarn workspace @rollingversions/git-http",
"objects": "yarn workspace @rollingversions/git-objects",
"packfile": "yarn workspace @rollingversions/git-packfile",
"protocol": "yarn workspace @rollingversions/git-protocol",
"streams": "yarn workspace @rollingversions/git-streams",
"build": "yarn build:links && yarn build:ts && yarn build:rollup",
"build:links": "yarn --offline",
"build:ts": "tsc --build",
"build:rollup": "wsrun --stages --collect-logs --rewrite-paths --report --prefix node ../../scripts/rollup",
"postbuild:ts": "rimraf packages/*/lib/**/__tests__",
"lint": "tslint './src/**/*.{ts,tsx}' -t verbose -p .",
"prettier:write": "prettier --ignore-path .gitignore --write './**/*.{md,yaml,js,jsx,ts,tsx}'",
"prettier:check": "prettier --ignore-path .gitignore --list-different './**/*.{md,yaml,js,jsx,ts,tsx}'",
"test": "jest",
"test:unit": "jest --selectProjects unit-tests",
"test:integration": "jest --selectProjects integration-tests"
},
"jest": {
"projects": [
{
"displayName": "unit-tests",
"testRegex": ".+\\.test\\.(tsx?)$",
"testEnvironment": "node",
"transform": {
".(js|jsx|ts|tsx)": "@sucrase/jest-plugin"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
]
},
{
"displayName": "integration-tests",
"testRegex": ".+\\.integration\\.(tsx?)$",
"testEnvironment": "node",
"transform": {
".(js|jsx|ts|tsx)": "@sucrase/jest-plugin"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
]
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"prettier --write",
"tslint -t verbose -p ."
],
"*.{md,yaml,js,jsx}": [
"prettier --write"
]
}
}