|
4 | 4 | "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", |
5 | 5 | "main": "index.js", |
6 | 6 | "typings": "typings/mysql/index", |
| 7 | + "type": "commonjs", |
7 | 8 | "scripts": { |
8 | 9 | "lint": "npm run lint:docs && npm run lint:code", |
9 | 10 | "lint:code": "eslint index.js promise.js index.d.ts promise.d.ts \"typings/**/*.ts\" \"lib/**/*.js\" \"test/**/*.{js,cjs,mjs,ts}\" \"benchmarks/**/*.js\"", |
10 | 11 | "lint:docs": "eslint Contributing.md README.md", |
11 | 12 | "lint:typings": "npx prettier --check ./typings", |
12 | 13 | "lint:tests": "npx prettier --check ./test", |
13 | | - "test": "poku --debug --include=\"test/esm,test/unit,test/integration\"", |
14 | | - "test:bun": "poku --debug --platform=\"bun\" --include=\"test/esm,test/unit,test/integration\"", |
15 | | - "test:deno": "deno run --allow-read --allow-env --allow-run npm:poku --debug --platform=\"deno\" --deno-allow=\"read,env,net,sys\" --deno-cjs=\".js,.cjs\" --include=\"test/esm,test/unit,test/integration\"", |
| 14 | + "test": "poku -d test/esm test/unit test/integration", |
| 15 | + "test:bun": "poku -d --bun test/esm test/unit test/integration", |
| 16 | + "test:deno": "deno run --allow-read --allow-env --allow-run npm:poku -d --deno --denoAllow=\"read,env,net,sys\" test/esm test/unit test/integration", |
16 | 17 | "test:tsc-build": "cd \"test/tsc-build\" && npx tsc -p \"tsconfig.json\"", |
17 | 18 | "coverage-test": "c8 npm run test", |
18 | 19 | "benchmark": "node ./benchmarks/benchmark.js", |
|
0 commit comments