-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.67 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.67 KB
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
{
"name": "@ecom-co/orm",
"version": "0.1.22",
"description": "Shared persistence layer: entities, transformers, repository utils for e-commerce projects",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build:watch": "tsc -p tsconfig.build.json --watch",
"clean": "rm -rf dist",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"prepublishOnly": "npm run clean && npm run build",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
"typeorm:generate": "typeorm-ts-node-commonjs migration:generate -d src/orm/data-source.ts",
"posttypeorm:generate": "npm run lint:fix",
"typeorm:create": "typeorm-ts-node-commonjs migration:create",
"typeorm:run": "typeorm-ts-node-commonjs migration:run -d src/orm/data-source.ts",
"typeorm:revert": "typeorm-ts-node-commonjs migration:revert -d src/orm/data-source.ts",
"seed": "ts-node -r dotenv/config src/orm/seed.ts"
},
"devDependencies": {
"@ecom-co/eslint": "^2.1.15",
"@types/node": "^24.2.1",
"dotenv": "^16.4.5",
"eslint": "^9.33.0",
"pg": "^8.16.3",
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
},
"repository": {
"type": "git",
"url": "https://github.com/e-commerce-platform-co/lib-orm.git"
},
"license": "MIT",
"dependencies": {
"@nestjs/typeorm": "^11.0.0",
"reflect-metadata": "^0.2.2",
"typeorm": "^0.3.25"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}