forked from kysely-org/kysely
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 4.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "kysely",
"version": "0.26.1",
"description": "Type safe SQL query builder",
"repository": {
"type": "git",
"url": "git://github.com/kysely-org/kysely.git"
},
"engines": {
"node": ">=14.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/cjs/index.js"
},
"./helpers/postgres": {
"import": "./dist/esm/helpers/postgres.js",
"require": "./dist/cjs/helpers/postgres.js",
"default": "./dist/cjs/helpers/postgres.js"
},
"./helpers/mysql": {
"import": "./dist/esm/helpers/mysql.js",
"require": "./dist/cjs/helpers/mysql.js",
"default": "./dist/cjs/helpers/mysql.js"
},
"./helpers/sqlite": {
"import": "./dist/esm/helpers/sqlite.js",
"require": "./dist/cjs/helpers/sqlite.js",
"default": "./dist/cjs/helpers/sqlite.js"
}
},
"scripts": {
"clean": "rm -rf dist & rm -rf test/node/dist & rm -rf test/browser/bundle.js & rm -rf helpers",
"test": "npm run build && npm run test:node:build && concurrently -n node,typings,esmimports \"npm run test:node\" \"npm run test:typings\" \"npm run test:esmimports\"",
"test:node:build": "tsc -p test/node",
"test:node": "concurrently -n postgres,mysql,sqlite \"npm run test:node:postgres\" \"npm run test:node:mysql\" \"npm run test:node:sqlite\"",
"test:node:postgres": "DIALECT=postgres npm run test:node:run",
"test:node:mysql": "DIALECT=mysql npm run test:node:run",
"test:node:sqlite": "DIALECT=sqlite npm run test:node:run",
"test:node:run": "mocha --reporter min --timeout 15000 test/node/dist/**/*.test.js",
"test:browser:build": "rm -rf test/browser/bundle.js && esbuild test/browser/main.ts --bundle --outfile=test/browser/bundle.js",
"test:browser": "npm run build && npm run test:browser:build && node test/browser/test.js",
"test:bun": "npm run build && cd test/bun && bun install && bun run test",
"test:cloudflare-workers": "npm run build && cd test/cloudflare-workers && npm ci && npm test",
"test:deno": "npm run build && deno run --allow-env --allow-read --allow-net test/deno/local.test.ts && deno run --allow-env --allow-read --allow-net test/deno/cdn.test.ts",
"test:typings": "tsd test/typings",
"test:esmimports": "node scripts/check-esm-imports.js",
"test:esbuild": "esbuild --bundle --platform=node --external:pg-native dist/esm/index.js --outfile=/dev/null",
"prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"build": "npm run clean && concurrently -n esm,cjs \"npm run build:esm\" \"npm run build:cjs\" && concurrently -n modulefix,docfix \"npm run script:module-fixup\" \"npm run script:copy-interface-doc\"",
"build:esm": "tsc -p tsconfig.json && npm run script:add-deno-type-references",
"build:cjs": "tsc -p tsconfig-cjs.json",
"script:module-fixup": "node scripts/module-fixup.js",
"script:copy-interface-doc": "node scripts/copy-interface-documentation.js",
"script:add-deno-type-references": "node scripts/add-deno-type-references.js",
"script:align-site-version": "node scripts/align-site-version.js",
"prepublishOnly": "npm run build"
},
"author": "Sami Koskimäki <[email protected]>",
"license": "MIT",
"contributors": [
"Igal Klebanov <[email protected]>"
],
"devDependencies": {
"@types/better-sqlite3": "^7.6.4",
"@types/chai": "^4.3.5",
"@types/chai-as-promised": "^7.1.5",
"@types/chai-subset": "^1.3.3",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"@types/pg": "^8.10.2",
"@types/pg-cursor": "^2.7.0",
"@types/sinon": "^10.0.15",
"better-sqlite3": "^8.4.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"concurrently": "^8.1.0",
"esbuild": "^0.17.19",
"mocha": "^10.2.0",
"mysql2": "^3.3.3",
"pg": "^8.11.0",
"pg-cursor": "^2.10.0",
"playwright": "^1.34.3",
"prettier": "^2.8.8",
"sinon": "^15.1.0",
"tsd": "^0.28.1",
"typescript": "^5.1.6"
}
}