generated from antfu/starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 1.44 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
{
"name": "knightly-fixture-1",
"version": "0.0.0",
"description": "",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"author": "Anthony Fu <[email protected]>",
"license": "MIT",
"sideEffects": false,
"bugs": {
"url": "https://github.com/<placeholder>/issues"
},
"homepage": "https://github.com/<placeholder>#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/<placeholder>.git"
},
"scripts": {
"prepare": "npm run build",
"watch": "npm run build -- --watch",
"dev": "esno src/index.ts",
"build": "tsup src/index.ts --format cjs,esm --dts",
"publish:ci": "npm publish --access public",
"release": "npx bumpp --commit --push --tag && npm run publish:ci",
"lint": "eslint \"{src,test}/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"git add"
]
},
"files": [
"dist"
],
"dependencies": {},
"devDependencies": {
"@antfu/eslint-config-ts": "^0.3.3",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.8",
"eslint": "^7.11.0",
"eslint-plugin-jest": "^24.1.0",
"esno": "^0.2.0",
"husky": "^4.3.0",
"jest": "^26.5.3",
"lint-staged": "^10.4.0",
"ts-jest": "^26.4.1",
"tsup": "^3.7.0",
"typescript": "^4.0.3"
}
}