Refactor, units, tests

This commit is contained in:
Bán Dénes 2021-01-01 00:50:04 +01:00
parent 519c34bc60
commit cd90705ba1
24 changed files with 1221 additions and 1222 deletions

View file

@ -11,18 +11,20 @@
"bin": "./src/cli.js",
"scripts": {
"build": "rollup -c",
"test": "nyc --reporter=html --reporter=text mocha -r chai/register-should"
"test": "nyc --reporter=html --reporter=text mocha -r chai/register-should test/unit/*.js test/complex/index.js"
},
"dependencies": {
"fs-extra": "^9.0.1",
"js-yaml": "^3.14.0",
"makerjs": "github:mrzealot/maker.js-dist",
"mathjs": "^8.1.1",
"yargs": "^15.4.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^13.0.2",
"@rollup/plugin-replace": "^2.3.3",
"chai": "^4.2.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"rollup": "^2.22.1"
@ -33,7 +35,8 @@
"src/*.js"
],
"exclude": [
"src/cli.js"
"src/cli.js",
"src/io.js"
]
}
}