diff --git a/package.json b/package.json index 48b9a7e0..64d87505 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "tsconfig.json" ], "scripts": { - "install": "(npm run build.js || echo ok) && aminya-node-gyp-build --build-from-source", + "install": "(npm run build.js || echo ok) && cross-env npm_config_build_from_source=true aminya-node-gyp-build", "clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.mjs ./script/*.js.map ./script/*.mjs.map ./script/*.d.ts ./script/*.d.mts ./script/*.cjs ./scripts/*.cjs.map ./scripts/*.d.cts ./script/*.tsbuildinfo", "clean.release": "shx rm -rf ./build/Release", "clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp", diff --git a/tsconfig.json b/tsconfig.json index bd1d7379..86dcaddd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,10 +6,7 @@ "declaration": true, "module": "commonjs", "moduleResolution": "node", - "types": [ - "node", - "mocha" - ], + "forceConsistentCasingInFileNames": true, "strictPropertyInitialization": false, // TODO "strict": true, "strictNullChecks": true,