update deps, fix tests

This commit is contained in:
Anton Lavrenov
2022-08-09 09:47:48 -05:00
parent ccf9d922cf
commit 553cd2e262
4 changed files with 47 additions and 38 deletions

View File

@@ -49,7 +49,7 @@
"test": "npm run test:browser && npm run test:node",
"test:build": "parcel build ./test/unit-tests.html --dist-dir ./test-build --target none --public-url ./ --no-source-maps",
"test:browser": "npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security",
"test:node": "env TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha -r ts-node/register test/unit/**/*.ts --exit && npm run test:import",
"test:node": "ts-mocha -p ./test/tsconfig.json test/unit/**/*.ts --exit && npm run test:import",
"test:watch": "rm -rf ./parcel-cache && parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html",
"tsc": "tsc --removeComments && tsc --build ./tsconfig-cmj.json",
"rollup": "rollup -c",
@@ -88,10 +88,10 @@
}
],
"devDependencies": {
"@parcel/transformer-image": "2.6.0",
"@size-limit/preset-big-lib": "^7.0.8",
"@parcel/transformer-image": "2.7.0",
"@size-limit/preset-big-lib": "^8.0.0",
"@types/mocha": "^9.1.1",
"canvas": "^2.9.1",
"canvas": "^2.9.3",
"chai": "4.3.6",
"filehound": "^1.17.6",
"gulp": "^4.0.2",
@@ -105,19 +105,19 @@
"gulp-uglify": "^3.0.2",
"gulp-uglify-es": "^3.0.0",
"gulp-util": "^3.0.8",
"mocha": "9.2.2",
"mocha": "10.0.0",
"mocha-headless-chrome": "^4.0.0",
"parcel": "2.6.0",
"parcel": "2.7.0",
"process": "^0.11.10",
"rollup": "^2.75.0",
"rollup": "^2.77.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.31.2",
"size-limit": "^7.0.8",
"ts-mocha": "^9.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.6.3"
"rollup-plugin-typescript2": "^0.32.1",
"size-limit": "^8.0.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"keywords": [
"canvas",