File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 "test" : " jest --config jest.config.json --passWithNoTests --coverage" ,
2222 "build:esm" : " tsc --project tsconfig.esm.json" ,
2323 "build:cjs" : " tsc --project tsconfig.cjs.json" ,
24- "build" : " yarn clean && yarn build:cjs && yarn build:esm && ./bin/post-build.sh" ,
24+ "build" : " yarn build:cjs && yarn build:esm && ./bin/post-build.sh" ,
2525 "clean" : " rm -rf ./dist/*" ,
2626 "format" : " prettier --write \" src/**/*.(ts|js)\" " ,
2727 "lint" : " eslint -c .eslintrc.json --ignore-path .eslintignore --ext .ts src" ,
Original file line number Diff line number Diff line change 11export const NodeConfig : {
2- env : string ;
2+ env : "production" | "developement" | "testing" ;
33 version : string ;
44 modules : string [ ] ;
55 yarnVersion : string ;
66} = {
7- env : process . env . NODE_ENV as string ,
7+ env : process . env . NODE_ENV as "production" | "developement" | "testing" ,
88 version : process . env . NODE_VERSION as string ,
99 modules : Object . keys ( process . env )
1010 . filter ( m => / n p m _ p a c k a g e _ d e p e n d e n c i e s _ / g. test ( m ) )
You can’t perform that action at this time.
0 commit comments