-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.37 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
{
"name": "@toomuchdesign/npm-package-template",
"version": "0.0.0",
"description": "",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "rimraf ./dist && tsc -p tsconfig.build.json",
"test": "vitest --config ./vitest.config.mts",
"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 -- --run && 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": [],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/toomuchdesign/npm-package-template.git"
},
"author": "Andrea Carraro <[email protected]>",
"license": "ISC",
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@tsconfig/node20": "^20.1.4",
"@vitest/coverage-v8": "^2.1.8",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.7.2",
"vitest": "^2.0.2"
},
"simple-git-hooks": {
"pre-commit": "npm run prepare"
}
}