File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 58
58
"files" : [
59
59
" bin" ,
60
60
" dist" ,
61
+ " !*.map" ,
61
62
" !dist/test" ,
62
63
" tasks" ,
63
64
" LICENSE"
68
69
"prerebuild_specs" : " npm run pretest" ,
69
70
"rebuild_specs" : " node scripts/rebuild_specs.js" ,
70
71
"build" : " tsc --project ." ,
72
+ "build:prod" : " tsc --project . --sourceMap false" ,
71
73
"build_and_test" : " npm run build && npm run test" ,
72
74
"lint" : " eslint . && prettier --check ." ,
73
- "prepublishOnly" : " node scripts/set_strict.js false && npm run lint && npm run build_and_test " ,
75
+ "prepublishOnly" : " node scripts/set_strict.js false && npm run lint && npm run build:prod && npm test " ,
74
76
"postpublish" : " node scripts/set_strict.js true" ,
75
77
"clean" : " rm -rf node_modules package-lock.json lib coverage"
76
78
},
Original file line number Diff line number Diff line change 4
4
* script will be used to switch this flag to false when publishing, then immediately back
5
5
* to true after a successful publish.
6
6
*/
7
- type InternalOnly = true ;
7
+ type InternalOnly = false ;
8
8
9
9
/**
10
10
* Helper type to convert `T` to `F` if strict mode is on.
Original file line number Diff line number Diff line change 20
20
"preserveConstEnums" : true ,
21
21
"declaration" : true ,
22
22
"sourceMap" : true ,
23
- "inlineSources" : true , // Required for debugging NPM published package.
24
23
25
24
// Output
26
25
"outDir" : " dist/" ,
You can’t perform that action at this time.
0 commit comments