-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
52 lines (52 loc) · 1.15 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
{
"private": true,
"repository": "https://github.com/comunica/examples/",
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=10.0"
},
"devDependencies": {
"lerna": "^8.0.0"
},
"pre-commit": [
"build",
"lint",
"test"
],
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig-test-root.json"
}
},
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
],
"setupFilesAfterEnv": [ "./setup-jest.js" ],
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/mocks/",
"index.js"
],
"testEnvironment": "node"
},
"scripts": {
"test-changed": "lerna run test --since HEAD",
"lint-changed": "lerna run lint --since HEAD",
"build-changed": "lerna run build --since HEAD",
"test": "lerna run test",
"test-ci": "lerna run test-ci",
"lint": "lerna run lint",
"clean": "rm -rf ./node_modules && rm -rf ./packages/*/node_modules",
"build": "lerna run build",
"postinstall": "yarn run build"
}
}