-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 2.09 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
{
"name": "sveltekit-typeorm-app",
"version": "0.0.2",
"description": "A sample sveltekit with typeorm project. Can be used as reference",
"license": "MIT",
"type": "module",
"scripts": {
"start:dev": "cross-env NODE_ENV=development vite dev",
"start:test": "cross-env NODE_ENV=test vite dev",
"start:stage": "cross-env NODE_ENV=stage vite dev",
"start:prod": "cross-env NODE_ENV=production vite dev",
"clean": "rimraf .svelte-kit/output",
"build:migrations": "tsc -p tsconfig.build.json",
"build": "npm run clean && npm run build:migrations && vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"typeorm": "tsx ./node_modules/typeorm/cli.js --dataSource src/lib/server/db/DataSource.ts",
"migration:create": "npm run migration:create src/lib/server/db/migrations/Migration",
"migration:generate": "npm run typeorm migration:generate src/lib/server/db/migrations/Migration",
"migration:run": "npm run typeorm migration:run",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"test:unit": "rimraf ./dbtest.sqlite && cross-env NODE_ENV=test npx vitest",
"test": "npm run test:unit && npm run test:e2e",
"test:e2e": "cross-env NODE_ENV=test playwright test"
},
"devDependencies": {
"@playwright/test": "^1.45.3",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.8.1",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@types/eslint": "^9.6.0",
"@types/node": "^22.8.1",
"cross-env": "^7.0.3",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"globals": "^15.0.0",
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.6",
"rimraf": "^6.0.1",
"sqlite3": "^5.1.7",
"svelte": "^5.2.3",
"svelte-check": "^4.0.9",
"ts-node": "^10.9.2",
"tsx": "^4.19.1",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vite": "^5.0.3",
"vitest": "^2.0.4"
},
"dependencies": {
"pg": "^8.13.1",
"reflect-metadata": "^0.2.2",
"typeorm": "^0.3.20"
}
}