-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 4.77 KB
/
Copy pathpackage.json
File metadata and controls
153 lines (153 loc) · 4.77 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
{
"name": "@witchcraft/layout",
"description": "Headless layout manager.",
"version": "0.3.1",
"main": "./dist/runtime/index.js",
"type": "module",
"sideEffects": false,
"packageManager": "pnpm@11.5.0",
"exports": {
".": {
"types": "./dist/runtime/index.d.ts",
"import": "./dist/runtime/index.js"
},
"./components/*": {
"types": "./dist/runtime/components/*.vue.d.ts",
"import": "./dist/runtime/components/*.vue"
},
"./types": {
"types": "./dist/runtime/types/index.d.ts",
"import": "./dist/runtime/types/index.js"
},
"./*": {
"types": "./dist/runtime/*.d.ts",
"import": "./dist/runtime/*.js"
},
"./nuxt": {
"types": "./dist/types.d.mts",
"import": "./dist/module.mjs"
}
},
"scripts": {
"//prepare": "echo Needed so that if we pull the package from git it will get built and installed properly.",
"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:vite": "check everything is working when using vite",
"dev:vite": "vite --mode development --config vite.dev.config.ts",
"//dev": "The module needs to be build, not stubbed, for vite's dev to work.",
"dev": "pnpm dev:vite",
"lint:eslint": "eslint \"{src,tests,bin}/**/*.{cjs,js,ts}\" \"*.{cjs,js,ts}\" --max-warnings=0 --report-unused-disable-directives",
"lint:commits": "commitlint --from-last-tag --to HEAD --verbose",
"lint:imports": "echo disabled madge --circular --extensions ts ./src",
"lint": "pnpm lint:eslint && pnpm lint:types && pnpm lint:commits && pnpm lint:imports",
"lint:types": "vue-tsc --noEmit",
"coverage": "vitest --coverage",
"coverage:dev": "vitest --watch --coverage",
"test": "vitest",
"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",
"actions:debug": "act -r -v -j release",
"gen:exports": "indexit update --ignore **/*.d.ts **.vue src/assets/** -o '${path}.js'"
},
"dependencies": {
"@alanscodelog/utils": "catalog:",
"@iconify/json": "catalog:",
"es-toolkit": "catalog:"
},
"peerDependencies": {
"@witchcraft/nuxt-utils": "catalog:",
"@witchcraft/ui": "catalog:"
},
"peerDependenciesMeta": {
"@witchcraft/ui": {
"optional": true
},
"@witchcraft/nuxt-utils": {
"optional": true
}
},
"devDependencies": {
"@alanscodelog/commitlint-config": "catalog:",
"@alanscodelog/eslint-config": "catalog:",
"@alanscodelog/semantic-release-config": "catalog:",
"@alanscodelog/tsconfigs": "catalog:",
"@alanscodelog/vite-config": "catalog:",
"@commitlint/cli": "catalog:",
"@nuxt/eslint-config": "catalog:",
"@nuxt/kit": "catalog:",
"@nuxt/module-builder": "catalog:",
"@nuxt/schema": "catalog:",
"@nuxt/types": "catalog:",
"@tailwindcss/vite": "catalog:",
"@types/node": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@witchcraft/nuxt-utils": "catalog:",
"@witchcraft/ui": "catalog:",
"concurrently": "catalog:",
"cross-env": "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:",
"unplugin-icons": "catalog:",
"unplugin-vue-components": "catalog:",
"uuid": "catalog:",
"vite": "catalog:",
"vitest": "catalog:",
"vue": "catalog:",
"vue-tsc": "catalog:",
"zod": "catalog:"
},
"author": "Alan <alanscodelog@gmail.com>",
"repository": "https://github.com/witchcraftjs/layout",
"license": "MIT",
"files": [
"src",
"dist"
],
"release": {
"extends": [
"@alanscodelog/semantic-release-config"
]
},
"commitlint": {
"extends": [
"@alanscodelog"
]
},
"madge": {
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
},
"browserslist": "defaults and supports es6-module,maintained node versions",
"engines": {
"node": ">=20.0.0"
},
"@comments": {
"scripts": {
"test:inspect-errors": "For use with my inspect_error utility function from @alanscodelog/utils",
"prepare": "Needed so that if we pull the package from git it will get built and installed properly.",
"actions:debug": "For debugging github build action locally with nektos/act. Requires act and docker. Note: Cache will never work locally because of https://github.com/nektos/act/issues/285"
}
},
"publishConfig": {
"access": "public"
}
}