|
34 | 34 | "transpile:jsx": "microbundle src/jsx.js -o dist/jsx.js --target web --external preact && microbundle dist/jsx.js -o dist/jsx.js -f cjs --external preact",
|
35 | 35 | "copy-typescript-definition": "copyfiles -f src/*.d.ts dist",
|
36 | 36 | "test": "eslint src test && tsc && npm run test:mocha && npm run test:mocha:compat && npm run test:mocha:debug && npm run bench",
|
37 |
| - "test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js", |
38 |
| - "test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/compat/*.test.js'", |
39 |
| - "test:mocha:debug": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/debug/index.test.js'", |
40 |
| - "format": "prettier src/**/*.{d.ts,js} test/**/*.js --write", |
| 37 | + "test:mocha": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js test/*.test.js test/*.test.jsx", |
| 38 | + "test:mocha:compat": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/compat/*.test.js' 'test/compat/*.test.jsx'", |
| 39 | + "test:mocha:debug": "BABEL_ENV=test mocha -r @babel/register -r test/setup.js 'test/debug/index.test.js' 'test/debug/index.test.jsx'", |
| 40 | + "format": "prettier src/**/*.{d.ts,js,jsx} test/**/*.js test/**/*.jsx --write", |
41 | 41 | "prepublishOnly": "npm run build",
|
42 | 42 | "release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
|
43 | 43 | },
|
|
130 | 130 | "baseline-rts": "npm:preact-render-to-string@latest",
|
131 | 131 | "preact": "^10.13.0",
|
132 | 132 | "prettier": "^2.2.1",
|
133 |
| - "sinon": "^9.2.2", |
134 |
| - "sinon-chai": "^3.5.0", |
| 133 | + "sinon": "^17.0.1", |
| 134 | + "sinon-chai": "^3.7.0", |
135 | 135 | "typescript": "^5.0.0"
|
136 | 136 | },
|
137 | 137 | "dependencies": {
|
|
0 commit comments