2020-04-22 15:52:17 +02:00
|
|
|
{
|
2021-04-27 15:10:30 +02:00
|
|
|
"name": "swaf",
|
2022-03-07 17:47:28 +01:00
|
|
|
"version": "0.25.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"description": "Structure Web Application Framework.",
|
|
|
|
"repository": "https://eternae.ink/ashpie/swaf",
|
|
|
|
"author": "Alice Gaudon <alice@gaudon.pro>",
|
|
|
|
"license": "MIT",
|
|
|
|
"readme": "README.md",
|
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://registry.npmjs.com",
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"main": "dist/main.js",
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"scripts": {
|
|
|
|
"test": "jest --verbose --runInBand",
|
|
|
|
"clean": "node scripts/clean.js",
|
|
|
|
"prepare-sources": "node scripts/prepare-sources.js",
|
2021-05-27 15:26:19 +02:00
|
|
|
"compile": "yarn clean && yarn prepare-sources && tsc --build",
|
|
|
|
"build": "yarn compile && node . pre-compile-views && node scripts/dist.js",
|
2021-04-27 15:10:30 +02:00
|
|
|
"build-production": "NODE_ENV=production yarn build",
|
2021-11-28 21:24:51 +01:00
|
|
|
"dev": "yarn compile && concurrently -k -n \"Maildev,Typescript,ViewPreCompile,Node\" -p \"[{name}]\" -c \"yellow,blue,red,green\" \"maildev --ip 127.0.0.1\" \"tsc --build --watch --preserveWatchOutput\" \"nodemon -i public -i intermediates -- pre-compile-views --watch\" \"nodemon -i public -i intermediates\"",
|
2021-04-27 15:10:30 +02:00
|
|
|
"lint": "eslint .",
|
|
|
|
"release": "yarn build && yarn lint && yarn test && cd dist && yarn publish"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@sveltejs/eslint-config": "sveltejs/eslint-config",
|
2022-03-07 18:58:21 +01:00
|
|
|
"@tsconfig/svelte": "^3.0.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"@types/compression": "^1.7.0",
|
2022-03-07 18:56:35 +01:00
|
|
|
"@types/config": "^0.0.41",
|
2021-11-08 00:52:33 +01:00
|
|
|
"@types/connect-flash": "^0.0.37",
|
2021-04-27 15:10:30 +02:00
|
|
|
"@types/cookie": "^0.4.0",
|
|
|
|
"@types/cookie-parser": "^1.4.2",
|
|
|
|
"@types/express": "^4.17.6",
|
|
|
|
"@types/express-session": "^1.17.0",
|
2021-11-08 00:52:33 +01:00
|
|
|
"@types/formidable": "^2.0.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"@types/geoip-lite": "^1.1.31",
|
2021-11-08 00:52:33 +01:00
|
|
|
"@types/jest": "^27.0.2",
|
2021-04-27 15:10:30 +02:00
|
|
|
"@types/mjml": "^4.0.4",
|
|
|
|
"@types/mysql": "^2.15.10",
|
2022-03-07 18:56:35 +01:00
|
|
|
"@types/node": "^17.0.21",
|
2021-04-27 15:10:30 +02:00
|
|
|
"@types/nodemailer": "^6.4.0",
|
|
|
|
"@types/nunjucks": "^3.1.3",
|
|
|
|
"@types/on-finished": "^2.3.1",
|
|
|
|
"@types/require-from-string": "^1.2.0",
|
|
|
|
"@types/supertest": "^2.0.10",
|
|
|
|
"@types/uuid": "^8.0.0",
|
2021-11-08 00:52:33 +01:00
|
|
|
"@types/ws": "^8.2.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.3.0",
|
|
|
|
"@typescript-eslint/parser": "^5.3.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"chokidar": "^3.5.1",
|
2022-03-07 18:56:35 +01:00
|
|
|
"concurrently": "^7.0.0",
|
2021-11-08 00:52:33 +01:00
|
|
|
"eslint": "^8.2.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-05-03 19:29:22 +02:00
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"eslint-plugin-svelte3": "^3.1.2",
|
2021-11-08 00:52:33 +01:00
|
|
|
"jest": "^27.3.1",
|
|
|
|
"jest-resolve": "^27.3.1",
|
2021-05-12 14:32:01 +02:00
|
|
|
"jest-ts-webcompat-resolver": "^1.0.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"maildev": "^1.1.0",
|
2021-11-08 00:52:33 +01:00
|
|
|
"node-fetch": "^3.0.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"nodemon": "^2.0.6",
|
2021-04-30 10:50:54 +02:00
|
|
|
"sass": "^1.32.12",
|
2021-04-27 15:10:30 +02:00
|
|
|
"supertest": "^6.0.0",
|
2021-11-08 00:52:33 +01:00
|
|
|
"svelte-check": "^2.2.8",
|
|
|
|
"ts-jest": "^27.0.7",
|
2021-04-27 15:10:30 +02:00
|
|
|
"typescript": "^4.0.2"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-11-20 19:52:44 +01:00
|
|
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
|
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
2021-11-21 18:34:36 +01:00
|
|
|
"@rollup/plugin-url": "^6.1.0",
|
2021-11-08 00:52:33 +01:00
|
|
|
"argon2": "^0.28.2",
|
2021-11-20 16:17:18 +01:00
|
|
|
"clear-module": "^4.1.1",
|
2021-04-27 15:10:30 +02:00
|
|
|
"compression": "^1.7.4",
|
|
|
|
"config": "^3.3.1",
|
|
|
|
"connect-flash": "^0.1.1",
|
|
|
|
"cookie": "^0.4.1",
|
|
|
|
"cookie-parser": "^1.4.5",
|
|
|
|
"express": "^4.17.1",
|
|
|
|
"express-session": "^1.17.1",
|
2021-11-08 00:52:33 +01:00
|
|
|
"formidable": "^2.0.1",
|
2021-04-27 15:10:30 +02:00
|
|
|
"geoip-lite": "^1.4.2",
|
2022-03-07 18:56:35 +01:00
|
|
|
"lucide": "^0.17.7",
|
2021-04-27 15:10:30 +02:00
|
|
|
"mjml": "^4.6.2",
|
|
|
|
"mysql": "^2.18.1",
|
|
|
|
"nanoid": "^3.1.20",
|
|
|
|
"nodemailer": "^6.4.6",
|
2021-11-20 16:17:18 +01:00
|
|
|
"normalize.css": "^8.0.1",
|
2021-04-27 15:10:30 +02:00
|
|
|
"nunjucks": "^3.2.1",
|
|
|
|
"on-finished": "^2.3.0",
|
2022-03-07 18:42:50 +01:00
|
|
|
"redis": "^4.0.4",
|
2021-11-21 17:06:06 +01:00
|
|
|
"require-from-string": "^2.0.2",
|
2021-11-20 19:52:44 +01:00
|
|
|
"rollup": "^2.42.3",
|
|
|
|
"rollup-plugin-css-only": "^3.1.0",
|
|
|
|
"rollup-plugin-imagemin": "^0.4.1",
|
|
|
|
"rollup-plugin-livereload": "^2.0.0",
|
|
|
|
"rollup-plugin-svelte": "^7.1.0",
|
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2021-11-20 16:17:18 +01:00
|
|
|
"svelte": "^3.35.0",
|
2021-11-21 20:24:35 +01:00
|
|
|
"svelte-preprocess": "^4.9.8",
|
2021-11-08 00:52:33 +01:00
|
|
|
"ts-node": "^10.4.0",
|
2021-04-27 15:10:30 +02:00
|
|
|
"tslog": "^3.0.1",
|
|
|
|
"uuid": "^8.0.0",
|
2021-11-08 00:52:33 +01:00
|
|
|
"ws": "^8.2.3"
|
2021-04-27 15:10:30 +02:00
|
|
|
}
|
2020-04-22 15:52:17 +02:00
|
|
|
}
|