-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
package.json
160 lines (160 loc) · 4.96 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "pg-mem",
"version": "3.0.4",
"description": "A memory version of postgres",
"main": "index.js",
"scripts": {
"build": "rimraf lib && NODE_OPTIONS=--openssl-legacy-provider webpack --config ./tools/webpack.config.js --prod && bun build-types",
"build-types": "rimraf lib/types && tsc --project tsconfig.json && copyfiles -u 2 \"lib-types/src/**/*.ts\" lib/types && rimraf lib/types/tests && rimraf lib-types && echo \"export * from './types';\" >> lib/index.d.ts",
"release": "git diff --exit-code && bun test && bun run build && bun build:deno && deno run tools/deno-test.ts && cd lib && npm publish && cd .. && bun release-deno",
"release-deno": "git add -A && git commit -m \"Build deno [autogenerated commit]\" && PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag $PACKAGE_VERSION && git push --tags",
"start:playground": "NODE_OPTIONS=--openssl-legacy-provider webpack-dev-server --hot --config ./tools/playground.webpack.config.js",
"build:playground": "NODE_OPTIONS=--openssl-legacy-provider webpack --config ./tools/playground.webpack.config.js --prod",
"release:playground": "bun build:playground && cd dist && git init && git add -A && git commit -m\"initial\" && git remote add origin [email protected]:oguimbal/pg-mem-playground.git && git push --set-upstream origin master --force",
"typecheck": "tsc --project tsconfig.json --noEmit",
"test": "bun test",
"build:deno": "node ./tools/deno-transpile.js --copy && node ./tools/deno-transpile.js --process",
"cover": "NODE_OPTIONS=--openssl-legacy-provider cross-env NODE_ENV=coverage nyc --reporter=lcov --reporter=text bun test"
},
"author": "Olivier Guimbal",
"repository": "https://github.com/oguimbal/pg-mem",
"issues": "https://github.com/oguimbal/pg-mem/issues",
"keywords": [
"postgres",
"pg-mock",
"mock",
"memory",
"db",
"database",
"pg",
"typeorm",
"pg-promise",
"pg-native",
"unit test",
"ut",
"sql",
"pgsql",
"postgresql",
"knex",
"kysely"
],
"license": "MIT",
"dependencies": {
"functional-red-black-tree": "^1.0.1",
"immutable": "^4.3.4",
"json-stable-stringify": "^1.0.1",
"lru-cache": "^6.0.0",
"moment": "^2.27.0",
"object-hash": "^2.0.3",
"pgsql-ast-parser": "^12.0.1"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@hot-loader/react-dom": "^16.13.0",
"@mikro-orm/core": "^5.8.1",
"@mikro-orm/postgresql": "^5.8.1",
"@types/json-stable-stringify": "^1.0.34",
"@types/lru-cache": "^5.1.0",
"@types/node": "^16.18.69",
"@types/object-hash": "^1.3.3",
"@types/pg": "^7.14.9",
"@types/react": "^16.9.43",
"@types/uuid": "^8.3.0",
"babel": "^6.23.0",
"babel-loader": "^8.1.0",
"babel-preset-react-app": "^9.1.2",
"bun-types": "^1.1.21",
"copy-webpack-plugin": "^6.0.3",
"copyfiles": "^2.4.0",
"cross-env": "^7.0.2",
"css-loader": "^4.1.0",
"dedent": "^0.7.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"istanbul-instrumenter-loader": "^2.0.0",
"knex": "^2.5.1",
"kysely": "^0.26.3",
"monaco-editor": "^0.20.0",
"monaco-editor-webpack-plugin": "^1.9.0",
"nyc": "^15.1.0",
"pg": "^8.5.1",
"pg-promise": "^10.8.7",
"pg-server": "0.1.8",
"postgres": "^3.4.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hot-loader": "^4.12.21",
"react-monaco-editor": "^0.39.1",
"reactjs-popup": "^1.5.0",
"rimraf": "^3.0.2",
"sequelize": ">=6.3.5 <6.20.0",
"slonik": "45.6.0",
"source-map-support": "^0.5.19",
"style-loader": "^1.2.1",
"ts-loader": "^8.0.0",
"ts-node": "^10.8.0",
"typeorm": "0.2.29",
"typescript": "^5.5.4",
"uuid": "^8.3.2",
"webpack": "4.43.0",
"webpack-cli": "3.3.12",
"webpack-dev-server": "4.9.2",
"webpack-node-externals": "^1.7.2",
"zod": "^3.23.8"
},
"peerDependencies": {
"@mikro-orm/core": ">=4.5.3",
"@mikro-orm/postgresql": ">=4.5.3",
"knex": ">=0.20",
"kysely": ">=0.26",
"pg-promise": ">=10.8.7",
"slonik": ">=23.0.1",
"typeorm": ">=0.2.29",
"postgres": "^3.4.4",
"pg-server": "^0.1.5"
},
"peerDependenciesMeta": {
"pg-server": {
"optional": true
},
"postgres": {
"optional": true
},
"@mikro-orm/core": {
"optional": true
},
"@mikro-orm/postgresql": {
"optional": true
},
"pg-promise": {
"optional": true
},
"typeorm": {
"optional": true
},
"slonik": {
"optional": true
},
"knex": {
"optional": true
},
"kysely": {
"optional": true
},
"mikro-orm": {
"optional": true
}
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts"
],
"instrument": false,
"sourceMap": false
}
}