forked from kysely-org/kysely
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 4.05 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
95
96
97
98
99
100
101
{
"name": "kysely",
"version": "0.27.3",
"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/mssql": {
"import": "./dist/esm/helpers/mssql.js",
"require": "./dist/cjs/helpers/mssql.js",
"default": "./dist/cjs/helpers/mssql.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 && npm run test:node:run && npm run test:typings && npm run test:esmimports && npm run test:exports",
"test:node:build": "tsc -p test/node",
"test:node": "npm run build && npm run test:node:build && npm run test:node:run",
"test:node:run": "mocha --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",
"test:exports": "node scripts/check-exports.js",
"prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"build": "npm run clean && (npm run build:esm & npm run build:cjs) && 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 <sami@jakso.me>",
"license": "MIT",
"contributors": [
"Sami Koskimäki <sami@jakso.me>",
"Igal Klebanov <igalklebanov@gmail.com>"
],
"devDependencies": {
"@types/better-sqlite3": "^7.6.8",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/chai-subset": "^1.3.5",
"@types/mocha": "^10.0.6",
"@types/node": "^18.15.11",
"@types/pg": "^8.10.9",
"@types/pg-cursor": "^2.7.2",
"@types/sinon": "^17.0.2",
"@types/tedious": "^4.0.9",
"better-sqlite3": "^9.6.0",
"chai": "^4.4.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"esbuild": "^0.19.11",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"mysql2": "^3.6.5",
"pg": "^8.11.3",
"pg-cursor": "^2.10.3",
"playwright": "^1.40.1",
"prettier": "^3.1.1",
"sinon": "^17.0.1",
"tarn": "^3.0.2",
"tedious": "^16.4.0",
"tsd": "^0.30.3",
"typescript": "^5.4.2"
}
}