Fix TSC config and package build script. (https://github.com/woocommerce/woocommerce-admin/pull/7361)
This commit is contained in:
parent
9c7adc3634
commit
4ef7ff8dfb
|
@ -23,7 +23,7 @@
|
||||||
"analyze": "cross-env NODE_ENV=production ANALYZE=true webpack",
|
"analyze": "cross-env NODE_ENV=production ANALYZE=true webpack",
|
||||||
"postbuild": "npm run -s i18n:pot && npm run -s i18n:build",
|
"postbuild": "npm run -s i18n:pot && npm run -s i18n:build",
|
||||||
"build:feature-config": "php bin/generate-feature-config.php",
|
"build:feature-config": "php bin/generate-feature-config.php",
|
||||||
"build:packages": "tsc --build && node ./bin/packages/build.js",
|
"build:packages": "lerna run build",
|
||||||
"build:release": "./bin/build-plugin-zip.sh",
|
"build:release": "./bin/build-plugin-zip.sh",
|
||||||
"clean": "rimraf ./dist ./packages/*/build ./packages/*/build-module ./packages/*/build-style",
|
"clean": "rimraf ./dist ./packages/*/build ./packages/*/build-module ./packages/*/build-style",
|
||||||
"predev": "npm run -s install-if-deps-outdated && php ./bin/update-version.php",
|
"predev": "npm run -s install-if-deps-outdated && php ./bin/update-version.php",
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
// Process & infer types from .js files.
|
// Process & infer types from .js files.
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
// Don't emit; allow Babel to transform files.
|
|
||||||
"noEmit": true,
|
|
||||||
// Enable strictest settings like strictNullChecks & noImplicitAny.
|
// Enable strictest settings like strictNullChecks & noImplicitAny.
|
||||||
"strict": true,
|
"strict": true,
|
||||||
// Import non-ES modules as default imports.
|
// Import non-ES modules as default imports.
|
||||||
|
|
Loading…
Reference in New Issue