generated from DevilTea/starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 1.99 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
{
"name": "@deviltea/tiny-state-machine",
"type": "module",
"version": "0.0.1",
"packageManager": "[email protected]",
"description": "A simple state machine with tiny size and type safe.",
"author": "DevilTea <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/DevilTea/tiny-state-machine#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/DevilTea/tiny-state-machine.git"
},
"bugs": "https://github.com/DevilTea/tiny-state-machine/issues",
"keywords": [],
"sideEffects": false,
"exports": {
".": {
"types": {
"import": "./dist/index.d.mts",
"require": "./dist/index.d.cts",
"default": "./dist/index.d.ts"
},
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild && pnpm calcsize",
"dev": "unbuild --stub",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "tsx src/index.ts",
"test": "vitest",
"calcsize": "tsx ./scripts/calcsize.ts",
"typecheck": "tsc --noEmit --project tsconfig.test.json",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/ni": "0.23.0",
"@deviltea/eslint-config": "3.4.1",
"@deviltea/tsconfig": "0.0.6",
"@types/node": "^20.10.1",
"@vitest/coverage-v8": "2.1.3",
"brotli-size": "4.0.0",
"bumpp": "9.7.1",
"eslint": "9.13.0",
"fast-glob": "3.3.2",
"gzip-size": "7.0.0",
"lint-staged": "15.2.0",
"pnpm": "9.12.2",
"rimraf": "6.0.1",
"simple-git-hooks": "2.11.1",
"terser": "5.36.0",
"tsx": "4.16.2",
"typescript": "5.6.3",
"unbuild": "^2.0.0",
"vite": "5.4.10",
"vitest": "2.1.3"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
},
"publishConfig": {
"access": "public"
}
}