2019-08-31 04:07:25 +05:00
|
|
|
{
|
|
|
|
"name": "planka",
|
2025-05-27 23:37:47 +02:00
|
|
|
"version": "2.0.0-rc.3",
|
2019-08-31 04:07:25 +05:00
|
|
|
"private": true,
|
2020-04-25 04:57:31 +05:00
|
|
|
"scripts": {
|
|
|
|
"client:build": "npm run build --prefix client",
|
|
|
|
"client:lint": "npm run lint --prefix client",
|
|
|
|
"client:start": "npm start --prefix client",
|
2020-08-20 15:35:46 +05:00
|
|
|
"client:test": "npm test --prefix client",
|
2025-05-10 02:09:06 +02:00
|
|
|
"docker:build": "docker build -t planka .",
|
|
|
|
"gv": "npm i --package-lock-only --ignore-scripts && genversion --source . --template server/version-template.ejs server/version.js && genversion --source . --template client/version-template.ejs client/src/version.js",
|
|
|
|
"postinstall": "npm i --prefix server && npm i --prefix client",
|
2022-04-19 02:52:19 +05:00
|
|
|
"lint": "npm run server:lint && npm run client:lint",
|
2024-06-02 01:34:03 +02:00
|
|
|
"prepare": "husky",
|
2020-04-25 04:57:31 +05:00
|
|
|
"server:console": "npm run console --prefix server",
|
2025-05-10 02:09:06 +02:00
|
|
|
"server:db:create-admin-user": "npm run db:create-admin-user --prefix server",
|
2020-04-25 04:57:31 +05:00
|
|
|
"server:db:init": "npm run db:init --prefix server",
|
|
|
|
"server:db:migrate": "npm run db:migrate --prefix server",
|
|
|
|
"server:db:seed": "npm run db:seed --prefix server",
|
2025-05-10 02:09:06 +02:00
|
|
|
"server:db:upgrade": "npm run db:upgrade --prefix server",
|
2020-04-25 04:57:31 +05:00
|
|
|
"server:lint": "npm run lint --prefix server",
|
|
|
|
"server:start": "npm start --prefix server",
|
|
|
|
"server:start:prod": "npm run start:prod --prefix server",
|
2020-08-20 15:35:46 +05:00
|
|
|
"server:test": "npm test --prefix server",
|
|
|
|
"start": "concurrently -n server,client \"npm run server:start\" \"npm run client:start\"",
|
|
|
|
"test": "npm run server:test && npm run client:test"
|
2020-04-25 04:57:31 +05:00
|
|
|
},
|
2020-04-24 21:44:54 +05:00
|
|
|
"lint-staged": {
|
2024-10-18 01:51:48 +05:45
|
|
|
"client/src/**/*.{js,jsx}": [
|
2020-04-25 04:57:31 +05:00
|
|
|
"npm run client:lint"
|
2020-04-24 21:44:54 +05:00
|
|
|
],
|
|
|
|
"server/**/*.js": [
|
2020-04-25 04:57:31 +05:00
|
|
|
"npm run server:lint"
|
2020-04-24 21:44:54 +05:00
|
|
|
]
|
|
|
|
},
|
2021-06-24 01:05:22 +05:00
|
|
|
"dependencies": {
|
2023-11-17 14:34:10 +01:00
|
|
|
"concurrently": "^8.2.2",
|
2024-08-13 22:26:44 +02:00
|
|
|
"genversion": "^3.2.0",
|
2024-11-22 17:13:17 +01:00
|
|
|
"husky": "^9.1.7",
|
2025-05-10 02:09:06 +02:00
|
|
|
"lint-staged": "^15.5.2"
|
2020-04-24 21:44:54 +05:00
|
|
|
}
|
2019-08-31 04:07:25 +05:00
|
|
|
}
|