Test complete

This commit is contained in:
proteriax
2021-07-22 14:28:43 -04:00
parent 6f28290529
commit 21003af738
9 changed files with 1119 additions and 21 deletions

View File

@ -6,11 +6,12 @@
"scripts": {
"test": "mocha test/**/*.ts",
"build": "./scripts/build.js",
"postinstall": "mkdir -p lib; cd test/snapshots && ls | sed \"s/.*/'&'/\" | paste -sd '|' | sed -e \"s/^/export type Snapshot = /\" - > ../snapshots.d.ts"
"postinstall": "mkdir -p lib; ./scripts/codegen.js test/snapshots > test/snapshots.d.ts"
},
"devDependencies": {
"@babel/core": "^7.14.8",
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/preset-env": "^7.14.8",
"@babel/preset-typescript": "^7.14.5",
"@babel/register": "^7.14.5",
"@babel/types": "^7.14.8",