/
package.json
85 lines (85 loc) · 2.23 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
{
"name": "@mr-hope/assert-type",
"version": "3.0.0",
"description": "A type assert library",
"keywords": [
"assert",
"type"
],
"homepage": "https://github.com/Mister-Hope/assert-type#readme",
"bugs": {
"url": "https://github.com/Mister-Hope/assert-type/issues"
},
"repository": "github.com:Mister-Hope/assert-type.git",
"license": "MIT",
"author": {
"name": "Mr.Hope",
"email": "mister-hope@outlook.com",
"url": "https://mister-hope.com"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rollup -c rollup.config.ts --configPlugin esbuild",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 2",
"clean": "rimraf dist",
"dev": "rollup -c rollup.config.ts --configPlugin esbuild -w",
"lint": "pnpm lint:eslint && pnpm lint:prettier",
"lint:eslint": "eslint . --fix",
"lint:prettier": "prettier --check --write .",
"prepare": "husky",
"prepublish": "pnpm clean && pnpm build",
"test": "vitest run --coverage"
},
"nano-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.{js,ts}": "eslint --fix",
"package.json": "sort-package-json"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@types/node": "20.12.12",
"@vitest/coverage-v8": "1.6.0",
"conventional-changelog-cli": "5.0.0",
"cz-conventional-changelog": "3.3.0",
"esbuild": "0.21.3",
"eslint": "8.57.0",
"eslint-config-mister-hope": "0.1.0",
"husky": "9.0.11",
"nano-staged": "0.8.0",
"prettier": "3.2.5",
"rimraf": "5.0.7",
"rollup": "4.17.2",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-esbuild": "6.1.1",
"sort-package-json": "2.10.0",
"tslib": "2.6.2",
"typescript": "5.4.5",
"vite": "5.2.11",
"vitest": "1.6.0"
},
"packageManager": "pnpm@9.0.6",
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
}
}