2014-05-12 20:08:19 +02:00
|
|
|
{
|
|
|
|
"name": "ffffng",
|
2022-07-14 20:13:40 +02:00
|
|
|
"version": "0.18.2-SNAPSHOT",
|
2016-06-11 19:08:46 +02:00
|
|
|
"description": "Node management form for Freifunk",
|
2022-10-04 18:00:18 +02:00
|
|
|
"license": "AGPL-3.0-only",
|
2016-06-11 19:15:26 +02:00
|
|
|
"author": {
|
|
|
|
"name": "Andreas Baldeau",
|
|
|
|
"email": "andreas@baldeau.net"
|
|
|
|
},
|
2016-06-11 19:08:46 +02:00
|
|
|
"private": true,
|
2016-06-11 16:27:04 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/freifunkhamburg/ffffng"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/freifunkhamburg/ffffng/issues"
|
|
|
|
},
|
|
|
|
"bin": {
|
2016-06-21 15:21:08 +02:00
|
|
|
"ffffng": "server/main.js"
|
2016-06-11 16:27:04 +02:00
|
|
|
},
|
2020-04-08 01:55:48 +02:00
|
|
|
"scripts": {
|
2022-10-04 15:33:55 +02:00
|
|
|
"check": "yarn run server:build && yarn run server:lint && yarn run server:test && (pushd frontend/ && yarn run check && popd)",
|
2022-05-19 11:12:07 +02:00
|
|
|
"test": "yarn run server:test",
|
2022-08-26 16:16:26 +02:00
|
|
|
"lint": "yarn run server:lint",
|
2022-10-04 15:33:55 +02:00
|
|
|
"build": "yarn run client:build && yarn run server:build",
|
|
|
|
"clean": "yarn run client:clean && yarn run server:clean && rm -rf dist/",
|
|
|
|
"dist": "yarn run clean && yarn run client:dist && yarn run server:dist && yarn run check && ./bin/dist-fix-symlinks.sh && yarn run dist:copy",
|
|
|
|
"dist:copy": "mkdir -p dist/ && cp package.json LICENSE config.json.example dist/ && sed -i 's/\"private\": true,/\"private\": false,/' dist/package.json && rm -f dist/package.json.bak",
|
|
|
|
"client:clean": "rm -rf dist/client/ && (pushd frontend/ && yarn run clean && popd)",
|
|
|
|
"client:build": "(pushd frontend/ && yarn run build && popd)",
|
|
|
|
"client:dist": "mkdir -p dist/ && (pushd frontend/ && yarn run dist && popd) && rsync -avzL frontend/dist/ dist/client/",
|
|
|
|
"client:serve": "(pushd frontend/ && yarn run dev && popd)",
|
2020-06-30 01:10:18 +02:00
|
|
|
"server:test": "jest --config=jest.server.config.js",
|
2022-10-04 15:33:55 +02:00
|
|
|
"server:clean": "rm -rf dist/server/ server-build/",
|
2021-02-22 21:36:40 +01:00
|
|
|
"server:build": "tsc -b server && ln -sfv ../../server/db/patches ./server-build/db/ && ln -sfv ../server/templates ./server-build/ && ln -sfv ../server/mailTemplates ./server-build/",
|
2022-10-04 15:33:55 +02:00
|
|
|
"server:dist": "mkdir -p dist/ && yarn run server:build && rsync -avzL --exclude='*/__mocks__/' --exclude='*.test.*' server-build/ dist/server/",
|
2022-08-23 19:18:02 +02:00
|
|
|
"server:lint": "eslint server/ --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
2022-05-19 11:12:07 +02:00
|
|
|
"server:run": "yarn run server:build && node server-build/main.js"
|
2020-04-08 01:55:48 +02:00
|
|
|
},
|
2016-06-11 16:00:10 +02:00
|
|
|
"dependencies": {
|
2022-06-02 12:54:15 +02:00
|
|
|
"async": "^3.2.4",
|
2022-07-07 13:10:57 +02:00
|
|
|
"bcrypt": "^5.0.1",
|
2022-02-07 20:47:48 +01:00
|
|
|
"body-parser": "^1.19.1",
|
|
|
|
"command-line-args": "^5.2.1",
|
2021-01-25 20:52:22 +01:00
|
|
|
"command-line-usage": "^6.1.1",
|
2018-10-01 22:24:42 +02:00
|
|
|
"compression": "^1.7.3",
|
2022-10-04 15:33:55 +02:00
|
|
|
"connect-history-api-fallback": "^2.0.0",
|
2018-10-01 22:24:42 +02:00
|
|
|
"deep-extend": "^0.6.0",
|
2022-02-07 20:47:48 +01:00
|
|
|
"express": "^4.17.2",
|
2022-05-23 10:49:37 +02:00
|
|
|
"glob": "^8.0.3",
|
2022-02-07 20:47:48 +01:00
|
|
|
"graceful-fs": "^4.2.9",
|
2022-08-02 14:37:00 +02:00
|
|
|
"html-to-text": "^8.2.1",
|
2022-09-27 14:29:18 +02:00
|
|
|
"http-auth": "^4.2.0",
|
|
|
|
"http-auth-connect": "^1.0.6",
|
2022-02-07 20:47:48 +01:00
|
|
|
"http-errors": "^2.0.0",
|
2021-10-14 16:39:36 +02:00
|
|
|
"lodash": "^4.17.21",
|
2022-06-02 12:54:15 +02:00
|
|
|
"moment": "^2.29.4",
|
2022-08-18 12:30:30 +02:00
|
|
|
"node-cron": "^3.0.2",
|
2022-10-04 14:41:23 +02:00
|
|
|
"nodemailer": "^6.8.0",
|
2021-10-14 17:18:30 +02:00
|
|
|
"nodemailer-html-to-text": "^3.2.0",
|
2020-04-10 00:43:15 +02:00
|
|
|
"request": "^2.88.2",
|
2019-07-12 20:26:19 +02:00
|
|
|
"serve-static": "^1.14.1",
|
2021-10-14 17:18:30 +02:00
|
|
|
"sparkson": "^1.3.6",
|
2022-07-21 11:51:29 +02:00
|
|
|
"sqlite": "^4.1.2",
|
2022-10-04 14:41:23 +02:00
|
|
|
"sqlite3": "^5.1.2"
|
2016-06-11 16:00:10 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-09-20 15:34:32 +02:00
|
|
|
"@rushstack/eslint-patch": "^1.2.0",
|
2022-06-02 12:54:15 +02:00
|
|
|
"@types/async": "^3.2.15",
|
2022-07-07 13:10:57 +02:00
|
|
|
"@types/bcrypt": "^5.0.0",
|
2021-10-14 17:18:30 +02:00
|
|
|
"@types/command-line-args": "^5.2.0",
|
|
|
|
"@types/command-line-usage": "^5.0.2",
|
|
|
|
"@types/compression": "^1.7.2",
|
2022-10-04 15:33:55 +02:00
|
|
|
"@types/connect-history-api-fallback": "^1.3.5",
|
2021-10-14 17:18:30 +02:00
|
|
|
"@types/deep-extend": "^0.4.32",
|
2022-09-14 15:56:16 +02:00
|
|
|
"@types/express": "^4.17.14",
|
2022-09-01 14:54:40 +02:00
|
|
|
"@types/glob": "^8.0.0",
|
2021-10-14 17:18:30 +02:00
|
|
|
"@types/graceful-fs": "^4.1.5",
|
2022-08-24 17:12:00 +02:00
|
|
|
"@types/html-to-text": "^8.1.1",
|
2022-10-04 14:41:23 +02:00
|
|
|
"@types/jest": "^29.1.1",
|
|
|
|
"@types/lodash": "^4.14.186",
|
|
|
|
"@types/node": "^18.8.1",
|
2022-09-14 15:56:16 +02:00
|
|
|
"@types/node-cron": "^3.0.4",
|
|
|
|
"@types/nodemailer": "^6.4.6",
|
2022-02-07 20:47:48 +01:00
|
|
|
"@types/request": "^2.48.8",
|
2022-08-23 19:18:02 +02:00
|
|
|
"@vue/eslint-config-prettier": "^7.0.0",
|
2022-09-27 14:29:18 +02:00
|
|
|
"@vue/eslint-config-typescript": "^11.0.2",
|
2021-10-14 17:18:30 +02:00
|
|
|
"escape-string-regexp": "^5.0.0",
|
2022-08-23 19:18:02 +02:00
|
|
|
"eslint": "^8.22.0",
|
2022-10-04 14:41:23 +02:00
|
|
|
"jest": "^29.1.2",
|
2022-08-23 19:18:02 +02:00
|
|
|
"prettier": "^2.7.1",
|
2020-04-08 01:55:48 +02:00
|
|
|
"time-grunt": "^2.0.0",
|
2022-10-04 14:41:23 +02:00
|
|
|
"ts-jest": "^29.0.3",
|
|
|
|
"typescript": "^4.8.4",
|
2022-09-27 14:29:18 +02:00
|
|
|
"yarn-audit-fix": "^9.3.6"
|
2014-05-12 20:08:19 +02:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-02-07 20:36:48 +01:00
|
|
|
"node": ">=16.0.0"
|
2014-05-12 20:08:19 +02:00
|
|
|
}
|
|
|
|
}
|