diff --git a/package.json b/package.json index 5a087df..a56c377 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tweakpane-plugin-interval", - "version": "0.2.1", + "version": "0.2.2", "description": "Range slider control for interval value", "main": "dist/tweakpane-plugin-interval.js", "types": "dist/types/index.d.ts", @@ -17,7 +17,7 @@ "test:scss": "prettier --parser scss --list-different 'src/sass/**/*.scss'", "test:ts": "run-s test:ts:static test:ts:dynamic", "test:ts:static": "eslint --ext .ts 'src/**/*.ts'", - "test:ts:dynamic": "TS_NODE_PROJECT='src/tsconfig.json' nyc --extension '.ts' mocha --require ts-node/register 'src/**/*-test.ts'", + "test:ts:dynamic": "TS_NODE_PROJECT='src/tsconfig.json' nyc --extension '.ts' mocha -r tsconfig-paths/register -r ts-node/register 'src/**/*-test.ts'", "assets": "run-s clean build assets:version assets:zip", "assets:version": "node scripts/assets-append-version.js", "assets:zip": "zip -j -r $(cat package.json | npx json name)-$(cat package.json | npx json version).zip dist", @@ -63,6 +63,7 @@ "rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-terser": "^7.0.2", "ts-node": "^9.1.1", + "tsconfig-paths": "^3.9.0", "typescript": "^3.9.9" }, "peerDependencies": {