mirror of
https://github.com/lingble/safe-redis-leader.git
synced 2025-10-29 11:42:34 +00:00
fix: build
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
"test:debug": "node --inspect=0.0.0.0:9229 node_modules/.bin/jest --config ./test/jest-e2e.json --runInBand",
|
"test:debug": "node --inspect=0.0.0.0:9229 node_modules/.bin/jest --config ./test/jest-e2e.json --runInBand",
|
||||||
"test": "node_modules/.bin/jest --config ./test/jest-e2e.json",
|
"test": "node_modules/.bin/jest --config ./test/jest-e2e.json",
|
||||||
"prepublishOnly": "npm run eslint && npm run test && npm run build",
|
"prepublishOnly": "npm run eslint && npm run test && npm run build",
|
||||||
"build": "tsc"
|
"build": "tsc -p tsconfig.build.json"
|
||||||
},
|
},
|
||||||
"author": "Marc Gagnon",
|
"author": "Marc Gagnon",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
4
tsconfig.build.json
Normal file
4
tsconfig.build.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"extends": "./tsconfig.json",
|
||||||
|
"exclude": ["./node_modules", "./test", "./dist", "**/*spec.ts"]
|
||||||
|
}
|
||||||
@@ -9,5 +9,4 @@
|
|||||||
"typeRoots": ["node_modules/@types"],
|
"typeRoots": ["node_modules/@types"],
|
||||||
"esModuleInterop": true
|
"esModuleInterop": true
|
||||||
},
|
},
|
||||||
"exclude": ["./node_modules", "./dist", "./test"],
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user