-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
140 lines (140 loc) · 4.24 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
{
"name": "@ucast/sql",
"version": "0.0.1",
"description": "git@github.com:stalniy/ucast.git",
"main": "dist/es6c/index.js",
"es2015": "dist/es6m/index.mjs",
"typings": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/es6m/index.mjs",
"require": "./dist/es6c/index.js"
},
"./mikro-orm": {
"types": "./dist/types/lib/mikro-orm.d.ts",
"import": "./dist/es6m/lib/mikro-orm.mjs",
"require": "./dist/es6c/lib/mikro-orm.js"
},
"./objection": {
"types": "./dist/types/lib/objection.d.ts",
"import": "./dist/es6m/lib/objection.mjs",
"require": "./dist/es6c/lib/objection.js"
},
"./sequelize": {
"types": "./dist/types/lib/sequelize.d.ts",
"import": "./dist/es6m/lib/sequelize.mjs",
"require": "./dist/es6c/lib/sequelize.js"
},
"./typeorm": {
"types": "./dist/types/lib/typeorm.d.ts",
"import": "./dist/es6m/lib/typeorm.mjs",
"require": "./dist/es6c/lib/typeorm.js"
}
},
"scripts": {
"build.types": "tsc",
"build": "npm run build.sql && npm run build.objection && npm run build.sequelize && npm run build.mikro-orm && npm run build.typeorm",
"prebuild": "rm -rf dist/* && npm run build.types",
"build.sql": "BUILD_TYPES=es6m,es6c rollup -c ../../rollup.config.js -e @ucast/core",
"build.objection": "npm run build.sql -- -i src/lib/objection.ts -e objection -e ../index",
"build.sequelize": "npm run build.sql -- -i src/lib/sequelize.ts -e sequelize -e ../index",
"build.mikro-orm": "npm run build.sql -- -i src/lib/mikro-orm.ts -e mikro-orm -e ../index",
"build.typeorm": "npm run build.sql -- -i src/lib/typeorm.ts -e typeorm -e ../index",
"lint": "eslint --ext .js,.ts src/ spec/",
"test": "mocha -r ts-node/register spec/*",
"coverage": "nyc -n src npm run test && nyc report --reporter=lcov",
"prerelease": "npm run lint && npm test && npm run build",
"release": "semantic-release -e ../../semantic-release.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stalniy/ucast.git"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"NOTICE",
"*.d.ts",
"objection",
"mikro-orm",
"sequelize",
"typeorm"
],
"keywords": [
"sql",
"conditions",
"query",
"builder",
"ast"
],
"author": "Sergii Stotskyi <sergiy.stotskiy@gmail.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/stalniy/ucast/issues"
},
"homepage": "https://github.com/stalniy/ucast#readme",
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.10.4",
"@babel/plugin-transform-typescript": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@rollup/plugin-babel": "^5.0.3",
"@rollup/plugin-node-resolve": "^8.0.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.0.7",
"@semantic-release/npm": "^7.0.5",
"@types/bluebird": "^3.5.32",
"@types/chai": "^4.2.11",
"@types/chai-spies": "^1.0.1",
"@types/mocha": "^7.0.2",
"@types/validator": "^13.1.0",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"chai": "^4.2.0",
"chai-spies": "^1.0.0",
"eslint": "^7.4.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-airbnb-typescript": "^8.0.2",
"eslint-plugin-import": "^2.22.0",
"knex": "^0.21.2",
"mikro-orm": "^3.6.15",
"mocha": "^8.0.1",
"nyc": "^15.1.0",
"objection": "^2.2.1",
"rollup": "^2.15.0",
"rollup-plugin-terser": "^6.1.0",
"semantic-release": "^17.4.7",
"sequelize": "6.3.4",
"sqlite3": "^5.0.0",
"ts-node": "^8.10.2",
"typeorm": "^0.2.25",
"typescript": "^3.9.5"
},
"peerDependencies": {
"mikro-orm": "^3.0.0",
"objection": "^2.0.0",
"sequelize": "^5.0.0 || ^6.0.0",
"typeorm": "^0.2.0"
},
"peerDependenciesMeta": {
"objection": {
"optional": true
},
"sequelize": {
"optional": true
},
"mikro-orm": {
"optional": true
},
"typeorm": {
"optional": true
}
},
"dependencies": {
"@ucast/core": "^1.0.0"
}
}