Skip to content

Commit d41639d

Browse files
committed
chore: update build config
1 parent 06c8214 commit d41639d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
"url": "https://github.com/ktsn/vue-sfc-parser.git"
2424
},
2525
"scripts": {
26-
"prepublishOnly": "npm run clean && npm run test && npm run build",
26+
"prepublishOnly": "npm run clean && npm run test && npm run build && npm run build:dts",
2727
"clean": "rm -rf lib",
2828
"build": "tsc -p src",
29+
"build:dts": "tsc -p src --noImplicitAny false --allowJs false --declaration",
2930
"dev": "jest --watch",
3031
"lint": "tslint -p . && prettier --list-different \"{src,scripts,test}/**/*.{js,ts}\"",
3132
"format": "prettier --write \"{src,scripts,test}/**/*.{js,ts}\"",

src/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"outDir": "../lib",
5-
"declaration": true
4+
"outDir": "../lib"
65
},
76
"include": [
87
"**/*.ts",

0 commit comments

Comments
 (0)