-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
90 lines (90 loc) · 2.88 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
{
"name": "@map-colonies/mc-model-types",
"version": "17.13.4",
"description": "json schemas for validations and generated ts models",
"author": "",
"license": "MIT",
"main": "./Schema/models/index.js",
"types": "./Schema/models/index.d.ts",
"homepage": "https://github.com/MapColonies/mc-models#readme",
"repository": {
"type": "git",
"url": "https://github.com/MapColonies/mc-models.git"
},
"bugs": {
"url": "https://github.com/MapColonies/mc-models/issues"
},
"scripts": {
"clean": "rimraf *.tgz Schema",
"release": "standard-version",
"build:skipLibCheck": "npm run prebuild && ttsc --skipLibCheck --project tsconfig.build.json",
"build": "ttsc --project tsconfig.build.json",
"copy:yaml": "copyfiles -u 1 \"./src/yaml/**/*.yaml\" ./Schema",
"copy": "npm run copy:yaml",
"prepack": "npm run build && npm run copy",
"prebuild": "npm run clean",
"start": "npm run build && cd Schema/models && node ./index.js",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"prelint:fix": "npm run format:fix",
"prelint": "npm run format",
"lint": "eslint . && npm run lint:yaml",
"lint:yaml": "yamllint --schema=CORE_SCHEMA ./src/yaml/**/*.yaml",
"lint:fix": "eslint --fix .",
"lint:openapi": "openapi lint src/yaml/**/*.yaml",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "jest --config=./tests/configurations/unit/jest.config.js",
"test:integration": "jest --config=./tests/configurations/integration/jest.config.js"
},
"dependencies": {
"@types/geojson": "^7946.0.7",
"change-case-all": "^2.1.0",
"reflect-metadata": "^0.1.13",
"zod": "^3.23.8"
},
"peerDependencies": {
"@map-colonies/mc-utils": ">=1.8.0",
"@map-colonies/types": ">=1.3.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@map-colonies/eslint-config": "^2.0.0",
"@map-colonies/prettier-config": "0.0.1",
"@redocly/openapi-cli": "^1.0.0-beta.50",
"@types/jest": "^27.0.2",
"@types/node": "^14.14.14",
"commitlint": "^11.0.0",
"copyfiles": "^2.4.1",
"cz-conventional-changelog": "^3.0.1",
"eslint": "^7.8.1",
"husky": "^4.3.5",
"jest": "^27.2.5",
"jest-create-mock-instance": "^1.1.0",
"jest-html-reporters": "^2.1.6",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"standard-version": "^9.0.0",
"ts-jest": "^27.0.5",
"ts-node": "^9.1.1",
"ts-transformer-keys": "^0.4.4",
"ttypescript": "^1.5.15",
"typescript": "^4.7.4",
"yaml-lint": "^1.2.4"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"files": [
"Schema/**/*"
]
}