-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 3.41 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
90
91
92
93
94
95
96
97
98
99
100
101
{
"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": {
"build": "rimraf ./types ./dist && tsc --project ./tsconfig.types.json && tsc --project ./tsconfig.build.json && pnpm copy-json-schema && pnpm copy-json-preapp-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",
"check": "tsc --project ./tsconfig.check.json && pnpm lint",
"postinstall": "pnpm i rimraf && pnpm build",
"prepare": "husky install",
"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",
"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"
},
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@formatjs/intl-listformat": "^7.7.9",
"@mui/material": "^5.15.10",
"ajv-formats": "^2.1.1",
"ajv": "^8.17.1",
"cheerio": "1.0.0",
"copyfiles": "^2.4.1",
"docx": "^9.1.1",
"eslint": "^8.57.1",
"fast-xml-parser": "^4.5.1",
"graphql-request": "^6.1.0",
"graphql": "^16.10.0",
"json-schema-to-typescript": "^15.0.4",
"lodash-es": "^4.17.21",
"marked": "^15.0.6",
"prettier": "^3.4.2",
"react-dom": "^18.3.1",
"react": "^18.3.1",
"type-fest": "^4.33.0",
"uuid": "^11.0.5",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/geojson": "^7946.0.16",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.5",
"@types/react-dom": "^18.3.1",
"@types/react": "^18.3.12",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-istanbul": "^3.0.5",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.4.3",
"rimraf": "^5.0.10",
"tsx": "^4.19.2",
"typescript": "^5.5.4",
"vitest": "^3.0.5"
},
"packageManager": "[email protected]",
"pnpm": {
"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"
}
}
}