forked from fictionco/fiction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 3.18 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
{
"name": "factor",
"version": "5.5.119",
"dependencies": {
"@factor/api": "workspace:5.5.119",
"@factor/lint": "workspace:5.5.119",
"@factor/ui": "workspace:5.5.119",
"@factor/www": "workspace:5.5.119",
"@types/express": "^4.17.15",
"@vitejs/plugin-vue": "^3.2.0",
"chalk": "^5.2.0",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"execa": "^6.1.0",
"pnpm": "^7.21.0",
"vue": "^3.2.45"
},
"devDependencies": {
"@types/express": "^4.17.14",
"@types/node": "^18.11.18",
"c8": "^7.12.0",
"concurrently": "^7.6.0",
"eslint": "^8.30.0",
"happy-dom": "^7.8.1",
"jsdom": "^20.0.3",
"nodemon": "^2.0.20",
"npm-package-json-lint": "^6.4.0",
"playwright": "^1.29.1",
"postcss": "^8.4.20",
"tailwindcss": "^3.2.4",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"vite": "^3.2.5",
"vitest": "^0.26.2",
"vue-tsc": "^1.0.18",
"yorkie": "^2.0.0"
},
"engines": {
"node": ">=16.0.0"
},
"gitHooks": {
"commit-msg": "ts-node scripts/verify-commit.mjs"
},
"license": "MIT",
"main": "index.ts",
"pnpm": {
"overrides": {
"vite": "^3.0.0",
"vue": "*",
"@types/node": "^18.8.0"
}
},
"private": true,
"publishConfig": {},
"scripts": {
"deploy": "flyctl deploy . --config ./fly/fly.$DEPLOY.toml --build-target $DEPLOY --remote-only --detach",
"up": "pnpm i && pnpm up -r && pnpm outdated",
"i": "pnpm i",
"lf": "cross-env INSTALL_ENV=production pnpm i --lockfile-only",
"site-build": "npm run in && npm exec -w @factor/www -- factor run render",
"in": "npx pnpm i -r --store=node_modules/.pnpm-store --frozen-lockfile",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"clean-install": "pnpm clear-modules && rm pnpm-lock.yaml && pnpm i && pnpm up -r && pnpm outdated",
"clear-modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"dev": "pnpm --filter @factor/www exec -- factor run dev",
"pack": "pnpm --filter @factor/api/build exec -- factor pack",
"render": "pnpm exec --filter @factor/www -- factor run render",
"release": "npm run lf && npm exec -- factor run release --patch --skip-tests",
"www": "pnpm --filter @factor/www exec -- factor run dev --www-port 3311 --server-port 21212",
"www-r": "pnpm --filter @factor/www exec -- factor run r-dev --www-port 3311 --server-port 21212",
"test": "pnpm run test-unit && pnpm run test-lint",
"fix": "pnpm run fix-deps && pnpm run fix-format",
"fix-deps": "syncpack fix-mismatches",
"fix-format": "pnpm prettier --ext .ts,.js,.vue,.json . --write",
"test-eslint": "pnpm exec -- eslint --ext .ts,.js @factor/.",
"test-lint": "pnpm run test-pkg && pnpm run test-types && pnpm run test-eslint && pnpm run test-vue",
"test-pkg": "pnpm exec -- npmPkgJsonLint . && pnpm run fix-deps",
"test-types": "npm exec -- vue-tsc --skipLibCheck --excludeDirectories node_modules",
"test-unit": "npm exec -- vitest run",
"test-vue": "pnpm exec -- eslint --ext .vue @factor/.",
"up-dev": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up"
},
"type": "module",
"workspaces": [
"@factor/*"
]
}