File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 14
14
"coverage" : " coveralls < coverage/lcov.info" ,
15
15
"prepublish" : " npm run build" ,
16
16
"build" : " run-script-os" ,
17
- "build:win32" : " rm -rf dist && rm -f *.d.ts && rm -f utilities/*.d.ts && rollup index.js --file dist/cjs/index.js --format cjs --exports named && rollup index.js --file dist/esm/index.js --format esm && echo { \" type\" : \" module\" } > dist/esm/package.json && echo { \" type\" : \" commonjs\" } > dist/cjs/package.json && cd dist && standard --fix */*.js && tsc ../index.js --declaration --allowJs --emitDeclarationOnly --target ESNext --moduleResolution node" ,
18
- "build:default" : " rm -rf dist && rm -f *.d.ts && rm -f utilities/*.d.ts && rollup index.js --file dist/cjs/index.js --format cjs --exports named && rollup index.js --file dist/esm/index.js --format esm && echo '{ \" type\" : \" module\" }' > dist/esm/package.json && echo '{ \" type\" : \" commonjs\" }' > dist/cjs/package.json && cd dist && standard --fix */*.js && tsc ../index.js --declaration --allowJs --emitDeclarationOnly --target ESNext --moduleResolution node"
17
+ "build:win32" : " rm -rf dist && rm -f *.d.ts precision/*.d.ts && rm -f utilities/*.d.ts && rollup index.js --file dist/cjs/index.js --format cjs --exports named && rollup index.js --file dist/esm/index.js --format esm && echo { \" type\" : \" module\" } > dist/esm/package.json && echo { \" type\" : \" commonjs\" } > dist/cjs/package.json && cd dist && standard --fix */*.js && tsc ../index.js --declaration --allowJs --emitDeclarationOnly --target ESNext --moduleResolution node" ,
18
+ "build:default" : " rm -rf dist && rm -f *.d.ts precision/*.d.ts && rm -f utilities/*.d.ts && rollup index.js --file dist/cjs/index.js --format cjs --exports named && rollup index.js --file dist/esm/index.js --format esm && echo '{ \" type\" : \" module\" }' > dist/esm/package.json && echo '{ \" type\" : \" commonjs\" }' > dist/cjs/package.json && cd dist && standard --fix */*.js && tsc ../index.js --declaration --allowJs --emitDeclarationOnly --target ESNext --moduleResolution node"
19
19
},
20
20
"devDependencies" : {
21
21
"decimal.js" : " ^10.4.3" ,
Original file line number Diff line number Diff line change 25
25
* - `mod`
26
26
* - `toNumber`
27
27
*
28
+ * ### FAQ:
29
+ *
30
+ * Q: Why is this not included in the class?
31
+ *
32
+ * A: This mechanism reimplements a handful of operators. Keeping this method separate makes it possible to tree-shake this code out
33
+ * if you don't need it.
34
+ *
28
35
* @param {import('../logic.d.ts').default | import('../asyncLogic.d.ts').default } engine
29
36
* @param {* } constructor
30
37
* @param {Boolean } compatible
You can’t perform that action at this time.
0 commit comments