-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 4.14 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 4.14 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
103
104
105
106
107
108
109
110
{
"name": "@opensystemslab/planx-core",
"version": "1.0.0",
"description": "A declarative interface for PlanX data operations",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/theopensystemslab/planx-core.git"
},
"files": [
"dist",
"types"
],
"type": "module",
"module": "./dist/index.js",
"main": "./dist/index.js",
"lint-staged": {
"src/**/*.{js,ts}": "eslint --fix",
"src/**/*": "prettier -w"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./types": {
"types": "./types/index.d.ts",
"import": "./types/index.js",
"require": "./types/index.js"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"bench": "vitest bench",
"build": "rimraf ./types ./dist && tsc --project ./tsconfig.types.json && tsc --project ./tsconfig.build.json && pnpm copy-json-schema && pnpm copy-json-preapp-schema && pnpm copy-json-enforcement-schema",
"examples": "rimraf ./examples && tsx ./src/templates/generateExamples.ts",
"lint": "eslint 'src/**/*.{js,ts}' && prettier -c src/**/*",
"lint:fix": "eslint --fix 'src/**/*.{js,ts}' && prettier -w src/**/*",
"test": "vitest run",
"test:coverage": "vitest run --coverage && open coverage/lcov-report/index.html",
"test:watch": "vitest --ui --coverage",
"profile-function": "node --cpu-prof --cpu-prof-dir=.profiles --import tsx scripts/profile.ts && pnpm dlx speedscope $(ls -t .profiles/*.cpuprofile | head -1)",
"check": "tsc --project ./tsconfig.check.json && pnpm lint",
"prepare": "pnpm build",
"generate-types-from-schema": "cd src/export/digitalPlanning/schemas/ && json2ts application/schema.json > application/types.d.ts && json2ts preApplication/schema.json > preApplication/types.d.ts && json2ts enforcement/schema.json > enforcement/types.d.ts",
"copy-json-schema": "copyfiles -f ./src/export/digitalPlanning/schemas/application/schema.json ./dist/export/digitalPlanning/schemas/application",
"copy-json-preapp-schema": "copyfiles -f ./src/export/digitalPlanning/schemas/preApplication/schema.json ./dist/export/digitalPlanning/schemas/preApplication",
"copy-json-enforcement-schema": "copyfiles -f ./src/export/digitalPlanning/schemas/enforcement/schema.json ./dist/export/digitalPlanning/schemas/enforcement",
"trace": "pnpm tsc --generateTrace .traces",
"trace:hotspots": "pnpm dlx @typescript/analyze-trace .traces --json | tee ./.traces/hotspots.json",
"trace:clean": "rimraf .traces"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@formatjs/intl-listformat": "^8.3.1",
"@mui/material": "^5.18.0",
"ajv": "^8.18.0",
"ajv-formats": "^2.1.1",
"cheerio": "1.2.0",
"copyfiles": "^2.4.1",
"eslint": "^8.57.1",
"fast-xml-parser": "^5.5.7",
"graphql": "^16.13.1",
"graphql-request": "^6.1.0",
"json-schema-to-typescript": "^15.0.4",
"lodash-es": "^4.17.23",
"marked": "^17.0.4",
"prettier": "^3.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"type-fest": "^4.41.0",
"uuid": "^13.0.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@types/geojson": "^7946.0.16",
"@types/lodash-es": "^4.17.12",
"@types/node": "~24.10.15",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^8.57.1",
"@vitest/coverage-istanbul": "^4.1.0",
"eslint": "^8.57.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"rimraf": "^6.1.3",
"tsx": "^4.21.0",
"typescript": "~5.9.3",
"vitest": "^4.1.0"
},
"packageManager": "pnpm@10.30.2",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
],
"overrides": {
"braces@<3.0.3": ">=3.0.3",
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5",
"semver@>=6.0.0 <6.3.1": ">=6.3.1",
"undici@>=7.0.0 <7.18.2": ">=7.18.2",
"flatted@<3.4.0": ">=3.4.0",
"undici@>=7.0.0 <7.24.0": ">=7.24.0",
"undici@>=7.17.0 <7.24.0": ">=7.24.0"
}
}
}