generated from toomuchdesign/npm-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.71 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
{
"name": "@toomuchdesign/ajv-type-provider-json-schema-to-ts",
"version": "0.3.0",
"description": "An ajv type provider based on json-schema-to-ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"private": false,
"files": [
"dist"
],
"scripts": {
"build": "rimraf ./dist && tsc -p tsconfig.build.json",
"test": "vitest --config ./vitest.config.mts --dir ./src",
"tag": "node ./scripts/tag.js",
"preversion": "npm run prepare",
"version": "git add package.json",
"postversion": "git push && git push --tags",
"prepare": "npx simple-git-hooks && npm run source:check && npm run test -- --watch=false && npm run build",
"prettier:check": "prettier . --check",
"prettier:fix": "npm run prettier:check -- --write",
"type:check": "tsc --noEmit",
"source:check": "npm run prettier:check && npm run type:check",
"source:fix": "npm run prettier:fix"
},
"keywords": [
"ajv",
"json-schema",
"json-schema-to-ts",
"type provider"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/toomuchdesign/ajv-type-provider-json-schema-to-ts.git"
},
"author": "Andrea Carraro <[email protected]>",
"license": "ISC",
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@tsconfig/node18": "^18.2.3",
"@vitest/coverage-v8": "^3.0.1",
"prettier": "^3.2.5",
"rimraf": "^6.0.0",
"simple-git-hooks": "^2.11.0",
"typescript": "^5.4.3",
"vitest": "^3.0.1"
},
"peerDependencies": {
"ajv": "^8.0.0",
"json-schema-to-ts": "^3.0.0"
},
"simple-git-hooks": {
"pre-commit": "npm run source:check && npm test -- --run"
}
}