-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
165 lines (165 loc) · 5.18 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
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
159
160
161
162
163
164
165
{
"name": "@witchcraft/shortcuts-manager",
"description": "A shortcut manager library for handling ALL the shortcut needs of an application.",
"version": "0.0.0-semantically-released",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"types": "./dist/*",
"import": "./dist/*"
},
"./utils": {
"types": "./dist/utils/index.d.ts",
"import": "./dist/utils/index.js"
},
"./utils/*": {
"types": "./dist/utils/*",
"import": "./dist/utils/*"
},
"./helpers": {
"types": "./dist/helpers/index.d.ts",
"import": "./dist/helpers/index.js"
},
"./helpers/*": {
"types": "./dist/helpers/*",
"import": "./dist/helpers/*"
},
"./layouts": {
"types": "./dist/layouts/index.d.ts",
"import": "./dist/layouts/index.js"
},
"./layouts/*": {
"types": "./dist/layouts/*",
"import": "./dist/layouts/*"
},
"./types": {
"types": "./dist/types/index.d.ts",
"import": "./dist/types/index.js"
},
"./types/*": {
"types": "./dist/types/*",
"import": "./dist/types/*"
},
"./internal/*": {
"types": "./dist/internal/internal/*",
"import": "./dist/internal/internal/*"
}
},
"scripts": {
"debug": "ts-node -r tsconfig-paths/register -T --esm",
"build": "vite build && pnpm build:types",
"build:dev": "vite build --mode development",
"build:watch": "vite build --watch --mode production",
"build:types": "tsc -p tsconfig.types.json --emitDeclarationOnly && pnpm build:types:fix",
"build:types:fix": "tsc-alias -p tsconfig.types.json --debug",
"lint:eslint": "eslint \"src/**/*.{cjs,js,ts,vue}\" \"*.{cjs,js,ts}\" --report-unused-disable-directives",
"lint:types": "tsc --noEmit --pretty -p tsconfig.types.json",
"lint:commits": "commitlint --from $(git rev-list --max-parents=0 HEAD) --to HEAD --verbose",
"lint:imports": "madge --circular --extensions ts ./src",
"lint": "npm run lint:types && npm run lint:eslint",
"coverage": "vitest --exclude '.direnv/**/*' --coverage",
"coverage:dev": "vitest --exclude '.direnv/**/*' --watch --coverage",
"test": "npm run lint:types && vitest run --exclude '.direnv/**/*'",
"test:watch": "vitest --watch --exclude '.direnv/**/*'",
"test:inspect-errors": "cross-env INSPECT_ERRORS=true npm run test",
"doc": "typedoc --options typedoc.config.cjs",
"doc:watch": "onchange -i \"src/**/*.ts\" \"typedoc.config.cjs\" -- npm run doc",
"doc:serve": "http-server docs --port=5001",
"doc:dev": "concurrently \"npm run doc:watch\" \"npm run doc:serve\"",
"doc:check-invalid": "typedoc --options typedoc.config.cjs --listInvalidSymbolLinks",
"actions:debug": "act -r -v -j build",
"gen:exports": "indexit update -o '${path}.js'",
"demo:dev": "cd demo && concurrently \"vite\" \"npm run build:watch\"",
"demo:build": "cd demo && npm run build",
"prepare": "husky && npm run build"
},
"dependencies": {
"@alanscodelog/utils": "^4.0.0"
},
"devDependencies": {
"@alanscodelog/commitlint-config": "^3.0.1",
"@alanscodelog/eslint-config": "^5.0.0",
"@alanscodelog/semantic-release-config": "^4.1.2",
"@alanscodelog/tsconfigs": "^4.0.1",
"@commitlint/cli": "^19.3.0",
"@types/node": "^20.12.12",
"@vitest/coverage-c8": "^0.33.0",
"@vue/typescript-plugin": "^2.0.19",
"autoprefixer": "^10.4.19",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"fast-glob": "^3.3.2",
"http-server": "^14.1.1",
"husky": "^9.0.11",
"indexit": "2.1.0-beta.3",
"madge": "^7.0.0",
"onchange": "^7.1.0",
"postcss": "^8.4.38",
"semantic-release": "^23.1.1",
"tailwindcss": "^3.4.3",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"typedoc": "0.26.0-beta.1",
"typescript": "^5.4.5",
"typescript-language-server": "^4.3.3",
"vite": "^5.2.12",
"vite-plugin-externalize-deps": "^0.8.0",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.19"
},
"pnpm": {
"overrides": {
"vue": "^3.4.26",
"eslint":"=9.12.0"
}
},
"author": "Alan <[email protected]>",
"repository": "https://github.com/alanscodelog/shortcuts-manager",
"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"
},
"@comments": {
"devDependencies": {},
"scripts": {
"test": "Runs `lint:types` before (so that flags can be passed to the test command) so that we can test type assertions. See expect_type function in @alanscodelog/utils.",
"lint:commits": "Lints all unpushed commits in the active branch.",
"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"
}
},
"private": true
}