-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
89 lines (89 loc) · 3.45 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
80
81
82
83
84
85
86
87
88
89
{
"private": true,
"name": "cldr-engine-monorepo",
"author": "Patrick Hensley <pathensley@gmail.com>",
"license": "Apache-2.0",
"scripts": {
"api": "pnpm --stream -r run api",
"bench": "pnpm --stream -r run bench",
"build": "pnpm --stream -r run build",
"build:watch": "pnpm --parallel --stream -r run build:watch",
"clean": "pnpm --stream -r run clean && rimraf ./coverage && jest --clearCache",
"clean:full": "pnpm --stream -r run clean:full && rimraf ./node_modules yarn.lock pnpm-lock.yaml",
"depgraph": "depcruise --no-config -T dot -x tslib packages/cldr/src | dot -T pdf > depgraph.pdf",
"link-all": "pnpm --stream -r exec -- pnpm link",
"unlink-all": "pnpm --stream -r exec -- pnpm unlink",
"lint": "pnpm run build && pnpm --stream -r run build:lint && pnpm --stream -r run lint",
"stress": "pnpm --stream -r run stress",
"test": "rimraf ./coverage && TZ=America/New_York jest --coverage --verbose -i --no-cache",
"test:codecov": "rimraf ./coverage && TZ=America/New_York jest --coverage --coverageReporters=lcovonly --verbose -i --no-cache",
"test:watch": "TZ=America/New_York jest --watch --runInBand --no-cache",
"x_api": "lerna run api --stream",
"x_api:local": "lerna run api:local --stream",
"x_bench": "lerna run --stream --concurrency=1 bench",
"x_build": "lerna run build --stream",
"x_build:watch": "lerna exec --parallel -- tsc -w --preserveWatchOutput",
"x_build:es:watch": "lerna exec --parallel -- tsc -w --preserveWatchOutput --module esnext --outDir lib-es",
"x_clean": "lerna run --parallel clean && rimraf ./coverage && jest --clearCache",
"x_clean:full": "lerna run --parallel clean:full && rimraf ./node_modules yarn.lock",
"x_format": "lerna exec --stream -- eslint --no-error-on-unmatched-pattern --fix \"'{src,tztool,__benchmarks__,__stress__,__tests__}/**/*.ts'\"",
"x_test": "rimraf ./coverage && TZ=America/New_York jest --coverage --verbose -i --no-cache",
"x_test:runtime": "rimraf ./coverage && TZ=America/New_York jest --coverage --verbose -i --no-cache --coveragePathIgnorePatterns=\"packages/cldr-(ext-rbnf|compiler|types)/.*\""
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^22.5.2",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"dependency-cruiser": "^16.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"lerna": "^8.1.8",
"npm-check-updates": "^17.1.1",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"terser": "^5.31.6",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.26.6",
"typescript": "~5.5.4"
},
"jest": {
"collectCoverageFrom": [
"packages/*/src/**/*.ts",
"!packages/*/src/cli/**/*.ts",
"!packages/*/src/**/*.d.ts",
"!packages/cldr-compiler/**",
"!packages/cldr-ext-rbnf/**",
"!packages/cldr-types/**"
],
"coverageReporters": [
"json",
"lcov",
"text",
"html"
],
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"moduleNameMapper": {
"@phensley/(.+)": "<rootDir>/packages/$1",
"@phensley/(.+)/(.+)": "<rootDir>/packages/$1/$2"
},
"testMatch": [
"**/__tests__/**/*.test.ts"
],
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
"tsconfig": "tsconfig.jest.json"
}
]
}
}
}