types: setup tests for built d.ts files
This commit is contained in:
10
package.json
10
package.json
@@ -10,7 +10,12 @@
|
||||
"size-compiler": "node scripts/build.js compiler-dom -p -f global",
|
||||
"size": "yarn size-runtime && yarn size-compiler",
|
||||
"lint": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"test-dts": "node scripts/build.js reactivity runtime-core runtime-dom -t -f esm && tsd"
|
||||
},
|
||||
"types": "test-dts/index.d.ts",
|
||||
"tsd": {
|
||||
"directory": "test-dts"
|
||||
},
|
||||
"gitHooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
@@ -45,7 +50,8 @@
|
||||
"rollup-plugin-terser": "^5.1.1",
|
||||
"rollup-plugin-typescript2": "^0.24.0",
|
||||
"ts-jest": "^24.0.2",
|
||||
"typescript": "^3.5.3",
|
||||
"tsd": "^0.10.0",
|
||||
"typescript": "^3.6.4",
|
||||
"yorkie": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user