mirror of
https://github.com/lingble/safe-redis-leader.git
synced 2025-10-28 11:12:36 +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": "node_modules/.bin/jest --config ./test/jest-e2e.json",
|
||||
"prepublishOnly": "npm run eslint && npm run test && npm run build",
|
||||
"build": "tsc"
|
||||
"build": "tsc -p tsconfig.build.json"
|
||||
},
|
||||
"author": "Marc Gagnon",
|
||||
"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"],
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"exclude": ["./node_modules", "./dist", "./test"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user