-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
81 lines (81 loc) · 2.16 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
{
"name": "ts-known",
"type": "module",
"version": "0.1.3",
"description": "This library offers guards for common types, and methods to generate type guards for specific types quickly. Safely handle unpredictable unknown types with ease",
"packageManager": "[email protected]",
"author": "LuciNyan",
"license": "MIT",
"homepage": "https://github.com/LuciNyan/ts-known#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/LuciNyan/ts-known.git"
},
"bugs": {
"url": "https://github.com/LuciNyan/ts-known/issues"
},
"keywords": [
"typescript",
"ts",
"guard",
"utils"
],
"sideEffects": false,
"exports": {
".": {
"types": "./index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "index.d.ts",
"files": [
"dist",
"*.d.ts"
],
"scripts": {
"prepare": "husky install",
"build": "rollup -c",
"dev": "nr build --watch",
"prepublishOnly": "npm run build",
"release": "bumpp --commit --push --tag && npm publish --access=public",
"start": "esno src/index.ts",
"typecheck": "tsc --noEmit",
"test": "vitest",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write ./**/*.ts --cache",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix --cache",
"prettier --write --cache"
]
},
"devDependencies": {
"@antfu/ni": "^0.18.8",
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-commonjs": "^23.0.3",
"@rollup/plugin-json": "^5.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@types/node": "^18.11.9",
"bumpp": "^8.2.1",
"eslint": "^8.28.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"esno": "^0.16.3",
"husky": "8.0.3",
"lint-staged": "13.1.0",
"prettier": "^2.4.0",
"rollup": "^3.5.0",
"rollup-plugin-dts": "^5.0.0",
"rollup-plugin-esbuild": "^5.0.0",
"typescript": "^4.9.3",
"vite": "^3.2.4",
"vitest": "^0.25.3"
}
}