mirror of
https://github.com/kremalicious/astro-redirect-from.git
synced 2024-12-21 17:03:23 +01:00
build tweaks
This commit is contained in:
parent
3ca573ae10
commit
df7e8bfbb6
12
package.json
12
package.json
@ -6,11 +6,11 @@
|
||||
"homepage": "https://kremalicious.com/astro-redirect-from",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/@types/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "tsc --watch",
|
||||
"build": "rm -r ./dist && tsc",
|
||||
"start": "rm -r ./dist && tsc --watch",
|
||||
"test": "npm run lint && npm run typecheck && npm run build",
|
||||
"lint": "eslint src/",
|
||||
"typecheck": "tsc --noEmit",
|
||||
@ -48,7 +48,6 @@
|
||||
},
|
||||
"release-it": {
|
||||
"hooks": {
|
||||
"before:init": "npm test",
|
||||
"after:bump": "npm run changelog"
|
||||
},
|
||||
"git": {
|
||||
@ -66,7 +65,8 @@
|
||||
"astro-integration",
|
||||
"redirect",
|
||||
"redirect-from",
|
||||
"jekyll-migration"
|
||||
"jekyll-migration",
|
||||
"markdown"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -6,7 +6,8 @@
|
||||
"outDir": "./dist",
|
||||
"types": ["vite/client"],
|
||||
"declaration": true,
|
||||
// ovewrite astro/tsconfigs values
|
||||
"declarationDir": "./dist/@types",
|
||||
// overwrite astro/tsconfigs values
|
||||
"noEmit": false,
|
||||
"allowImportingTsExtensions": false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user