-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.88 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.88 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
{
"name": "@planning-inspectorate/data-model",
"version": "0.0.0-semantically-released",
"description": "JSON Schemas for the Planning Inspectorate's Data Model",
"main": "src/index.js",
"type": "module",
"exports": {
"import": "./src/index.js",
"require": "./src/index.cjs"
},
"scripts": {
"commitlint": "commitlint --from=$(git rev-parse $(git cherry origin/main | head -n 1 | cut -c 3-)^1)",
"gen": "npm run gen-docs && npm run gen-enums && npm run gen-types && npm run gen-cjs",
"gen-docs": "node src/lib/gen-docs.js",
"gen-enums": "node src/lib/gen-enums.js",
"gen-types": "node src/lib/gen-types.js",
"gen-cjs": "npx rollup ./src/index.js --file ./src/index.cjs --format cjs && npx rollup ./src/enums.js --file ./src/enums.cjs --format cjs",
"lint": "npx eslint .",
"format": "prettier --write .",
"format-check": "prettier --check .",
"prepare": "node .husky/install.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Planning-Inspectorate/data-model.git"
},
"license": "MIT",
"dependencies": {
"jsonc-parser": "^3.3.1"
},
"devDependencies": {
"@adobe/jsonschema2md": "^8.0.3",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/js": "^10.0.1",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.5",
"globals": "^17.3.0",
"husky": "^9.1.7",
"json-schema-to-typescript": "^15.0.4",
"lint-staged": "^16.1.2",
"lodash.snakecase": "^4.1.1",
"prettier": "^3.6.2",
"rollup": "^4.44.2",
"semantic-release": "^25.0.1"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.js": [
"eslint --fix"
],
"*.{js,ts,json,md,prisma,yml,yaml,scss}": [
"prettier --write"
]
}
}