-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
38 lines (38 loc) · 2.01 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
{
"name": "timesheets-tracker",
"version": "1.0.0",
"description": "Track active window and tag activities to easily track timesheets",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"bump": "npx bump-package-versions --part=patch --strategy=highest ./package.json ./api/package.json ./client/package.json",
"build-api": "cd api && npm run build && cp -r dist/* ../dist/api && symlink-dir ./node_modules ../dist/api/node_modules && cd ..",
"build-client": "cd client && npm run build && cp -r dist/* ../dist/client && cd ..",
"copy-chrome-extension": "cp -r chrome-extension/* ./dist/chrome-extension && rm ./dist/chrome-extension/manifest.json && mv ./dist/chrome-extension/manifest-prd.json ./dist/chrome-extension/manifest.json",
"build-service-script": "tsc -p tsconfig.json && symlink-dir ./node_modules ./dist/node_modules && rm -rf ./dist/daemon",
"copy-database": "cp ./api/timesheets-tracker-database.sqlite3 ./dist/timesheets-tracker-database.sqlite3",
"replace-ports": "replace-in-files --string='55577' --replacement='55566' dist/client/**/*.js dist/api/src/**/*.js dist/chrome-extension/**/*.js",
"clean": "rm -rf ./dist/api ./dist/client ./dist/chrome-extension && cd dist && mkdir api && mkdir client && mkdir chrome-extension && cd ..",
"build": "npm run clean && npm run build-api && npm run build-client && npm run copy-chrome-extension && npm run replace-ports"
},
"author": "Bert Verhelst",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.4.5",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"bump-package-versions": "^1.0.7",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"nexe": "^4.0.0-rc.4",
"prettier": "^3.0.0",
"ts-node": "^10.9.1",
"replace-in-files-cli": "^2.2.0"
},
"dependencies": {
"node-windows": "^1.0.0-beta.8",
"symlink-dir": "^5.2.1"
}
}