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 1414 "coverage" : " coveralls < coverage/lcov.info" ,
1515 "prepublish" : " npm run build" ,
1616 "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"
1919 },
2020 "devDependencies" : {
2121 "decimal.js" : " ^10.4.3" ,
Original file line number Diff line number Diff line change 2525 * - `mod`
2626 * - `toNumber`
2727 *
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+ *
2835 * @param {import('../logic.d.ts').default | import('../asyncLogic.d.ts').default } engine
2936 * @param {* } constructor
3037 * @param {Boolean } compatible
You can’t perform that action at this time.
0 commit comments