test(types): add test for types (#1445)
This commit is contained in:
parent
825555cddf
commit
fa02b841a9
|
|
@ -29,13 +29,14 @@
|
||||||
"tsc": "tsc -p .",
|
"tsc": "tsc -p .",
|
||||||
"doc": "node utils/doclint/cli.js",
|
"doc": "node utils/doclint/cli.js",
|
||||||
"test-infra": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js && node utils/testrunner/test/test.js",
|
"test-infra": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js && node utils/testrunner/test/test.js",
|
||||||
"lint": "npm run eslint && npm run tsc && npm run doc && npm run test-infra",
|
"lint": "npm run eslint && npm run tsc && npm run doc && npm run test-types && npm run test-infra",
|
||||||
"debug-test": "node --inspect-brk test/test.js",
|
"debug-test": "node --inspect-brk test/test.js",
|
||||||
"clean": "rimraf lib && rimraf types",
|
"clean": "rimraf lib && rimraf types",
|
||||||
"prepare": "node install-from-github.js",
|
"prepare": "node install-from-github.js",
|
||||||
"build": "node utils/runWebpack.js --mode='development' && tsc -p .",
|
"build": "node utils/runWebpack.js --mode='development' && tsc -p .",
|
||||||
"watch": "node utils/runWebpack.js --mode='development' --watch --silent | tsc -w -p .",
|
"watch": "node utils/runWebpack.js --mode='development' --watch --silent | tsc -w -p .",
|
||||||
"version": "node utils/sync_package_versions.js && npm run doc",
|
"version": "node utils/sync_package_versions.js && npm run doc",
|
||||||
|
"test-types": "npm run generate-types && npx -p typescript@3.2 tsc -p utils/generate_types/test/tsconfig.json",
|
||||||
"generate-types": "node utils/generate_types/"
|
"generate-types": "node utils/generate_types/"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue