-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 4.46 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 4.46 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "@witchcraft/spellcraft",
"description": "A shortcut manager library for handling ALL the shortcut needs of an application.",
"version": "0.2.3",
"type": "module",
"main": "./dist/core/index.js",
"sideEffects": false,
"build": {
"failOnWarn": false
},
"exports": {
".": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.js"
},
"./utils": {
"types": "./dist/utils/index.d.ts",
"import": "./dist/utils/index.js"
},
"./helpers": {
"types": "./dist/helpers/index.d.ts",
"import": "./dist/helpers/index.js"
},
"./types": {
"types": "./dist/types/index.d.ts",
"import": "./dist/types/index.js"
},
"./core": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.js"
},
"./nuxt": {
"types": "./dist/types.d.mts",
"import": "./dist/module.mjs"
},
"./*": {
"types": "./dist/*.js",
"import": "./dist/*.js"
}
},
"scripts": {
"prepare": "husky && pnpm build",
"build": "nuxt-module-build prepare && nuxt-module-build build && nuxi generate playground",
"build:only": "nuxt-module-build build",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"dev:playground": "nuxi dev playground",
"dev": "nuxi dev playground",
"test": "pnpm lint:types && vitest run --exclude '.direnv/**/*'",
"test:watch": "vitest --watch --exclude '.direnv/**/*'",
"test:inspect-errors": "cross-env INSPECT_ERRORS=true npm run test",
"coverage": "vitest --exclude '.direnv/**/*' --coverage",
"coverage:dev": "vitest --exclude '.direnv/**/*' --watch --coverage",
"doc": "typedoc",
"doc:watch": "onchange -i \"src/**/*.ts\" \"typedoc.config.js\" -- pnpm doc",
"doc:serve": "http-server docs --port=5001",
"doc:dev": "concurrently \"pnpm doc:watch\" \"pnpm doc:serve\"",
"doc:check-invalid": "typedoc --listInvalidSymbolLinks",
"lint:eslint": "eslint \"{src,test,playground/app}/**/*.{js,ts,vue,cjs}\" \"*.{js,ts}\" --max-warnings=0 --report-unused-disable-directives",
"lint:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
"lint:commits": "commitlint --from-last-tag --to HEAD --verbose",
"lint:imports": "madge --circular --extensions ts ./src",
"lint": "pnpm lint:types && pnpm lint:eslint && pnpm lint:commits && pnpm lint:imports",
"actions:debug": "act -r -v",
"gen:exports": "indexit update -o '${path}.js'"
},
"peerDependencies": {
"@witchcraft/expressit": "catalog:",
"@witchcraft/ui": "catalog:"
},
"peerDependenciesMeta": {
"@witchcraft/ui": {
"optional": true
},
"@witchcraft/expressit": {
"optional": true
}
},
"dependencies": {
"@alanscodelog/utils": "catalog:",
"@witchcraft/expressit": "catalog:",
"@witchcraft/ui": "catalog:",
"reka-ui": "catalog:",
"vue": "catalog:"
},
"devDependencies": {
"@alanscodelog/commitlint-config": "catalog:",
"@alanscodelog/eslint-config": "catalog:",
"@alanscodelog/semantic-release-config": "catalog:",
"@alanscodelog/tsconfigs": "catalog:",
"@alanscodelog/vite-config": "catalog:",
"@commitlint/cli": "catalog:",
"@iconify/json": "catalog:",
"@nuxt/eslint-config": "catalog:",
"@nuxt/kit": "catalog:",
"@nuxt/module-builder": "catalog:",
"@nuxt/schema": "catalog:",
"@nuxt/types": "catalog:",
"@types/node": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitest/coverage-c8": "catalog:",
"concurrently": "catalog:",
"cross-env": "catalog:",
"defu": "catalog:",
"fast-glob": "catalog:",
"http-server": "catalog:",
"husky": "catalog:",
"indexit": "catalog:",
"madge": "catalog:",
"nuxt": "catalog:",
"onchange": "catalog:",
"semantic-release": "catalog:",
"tailwindcss": "catalog:",
"typedoc": "catalog:",
"typescript": "catalog:",
"unbuild": "catalog:",
"unplugin-icons": "catalog:",
"vite-tsconfig-paths": "catalog:",
"vitest": "catalog:",
"vue-tsc": "catalog:"
},
"author": "Alan <alanscodelog@gmail.com>",
"repository": "https://github.com/witchcraftjs/spellcraft",
"license": "MIT",
"files": [
"src",
"dist"
],
"release": {
"extends": [
"@alanscodelog/semantic-release-config"
]
},
"commitlint": {
"extends": [
"@alanscodelog"
]
},
"babel": {
"presets": [
"@alanscodelog"
]
},
"madge": {
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
},
"browserslist": "> 0.5%, last 2 versions, not dead, not < 0.25%, not IE > 0, maintained node versions",
"engines": {
"node": ">=20.0.0"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}