2020-04-23 14:55:48 +02:00
|
|
|
{
|
2020-06-27 18:07:58 +02:00
|
|
|
"name": "example-app",
|
2020-04-23 14:55:48 +02:00
|
|
|
"version": "0.1.0",
|
2020-11-13 10:54:35 +01:00
|
|
|
"description": "Example App based on swaf",
|
2021-04-22 12:30:40 +02:00
|
|
|
"repository": "https://eternae.ink/ashpie/swaf-boilerplate",
|
2020-04-23 14:55:48 +02:00
|
|
|
"author": "Alice Gaudon <alice@gaudon.pro>",
|
|
|
|
"private": true,
|
2021-01-25 13:17:41 +01:00
|
|
|
"main": "dist/main.js",
|
2020-04-23 18:07:39 +02:00
|
|
|
"scripts": {
|
2021-01-25 13:17:41 +01:00
|
|
|
"test": "jest --verbose --runInBand",
|
2021-03-30 12:44:09 +02:00
|
|
|
"clean": "node scripts/clean.js",
|
|
|
|
"prepare-sources": "node scripts/prepare-sources.js",
|
2021-11-20 19:54:59 +01:00
|
|
|
"compile": "yarn clean && yarn prepare-sources && tsc --build",
|
|
|
|
"build": "yarn compile && node . pre-compile-views && node scripts/dist.js",
|
|
|
|
"build-production": "NODE_ENV=production yarn build",
|
|
|
|
"dev": "yarn compile && concurrently -k -n \"Maildev,Typescript,ViewPreCompile,Node\" -p \"[{name}]\" -c \"yellow,blue,red,green\" \"maildev\" \"tsc --build --watch --preserveWatchOutput\" \"nodemon -i public -i intermediates -- pre-compile-views --watch\" \"nodemon -i public -i intermediates\"",
|
|
|
|
"lint": "eslint .",
|
|
|
|
"start": "yarn build-production && node ."
|
2020-04-23 18:07:39 +02:00
|
|
|
},
|
2020-04-23 14:55:48 +02:00
|
|
|
"devDependencies": {
|
2021-11-20 19:54:59 +01:00
|
|
|
"@tsconfig/svelte": "^2.0.1",
|
|
|
|
"@types/config": "^0.0.40",
|
2020-04-23 18:07:39 +02:00
|
|
|
"@types/express": "^4.17.6",
|
2020-07-12 12:12:47 +02:00
|
|
|
"@types/express-session": "^1.17.0",
|
2021-11-20 19:54:59 +01:00
|
|
|
"@types/formidable": "^2.0.0",
|
|
|
|
"@types/jest": "^27.0.3",
|
2020-07-12 12:12:47 +02:00
|
|
|
"@types/mysql": "^2.15.15",
|
2021-11-20 19:54:59 +01:00
|
|
|
"@types/node": "^16.11.9",
|
2020-07-12 12:12:47 +02:00
|
|
|
"@types/nodemailer": "^6.4.0",
|
|
|
|
"@types/nunjucks": "^3.1.3",
|
2021-11-20 19:54:59 +01:00
|
|
|
"@types/ws": "^8.2.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
|
|
"@typescript-eslint/parser": "^5.4.0",
|
2021-03-30 12:39:40 +02:00
|
|
|
"concurrently": "^6.0.0",
|
2021-11-21 17:52:56 +01:00
|
|
|
"eslint": "^8.3.0",
|
|
|
|
"eslint-plugin-import": "^2.25.3",
|
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
|
|
"eslint-plugin-svelte3": "^3.2.1",
|
2020-04-23 18:07:39 +02:00
|
|
|
"imagemin-gifsicle": "^7.0.0",
|
2020-07-12 12:12:47 +02:00
|
|
|
"imagemin-mozjpeg": "^9.0.0",
|
2021-06-07 11:21:43 +02:00
|
|
|
"imagemin-pngquant": "^9.0.2",
|
2021-11-20 19:54:59 +01:00
|
|
|
"imagemin-svgo": "^10.0.0",
|
2021-06-07 11:24:52 +02:00
|
|
|
"imagemin-webp": "^6.0.0",
|
2021-06-07 11:21:43 +02:00
|
|
|
"jest": "^27.0.4",
|
2021-01-25 11:43:36 +01:00
|
|
|
"maildev": "^1.1.0",
|
2020-04-23 18:07:39 +02:00
|
|
|
"nodemon": "^2.0.3",
|
2021-04-30 11:54:50 +02:00
|
|
|
"sass": "^1.32.12",
|
2021-11-21 17:52:56 +01:00
|
|
|
"svelte": "^3.44.2",
|
2021-06-07 11:21:43 +02:00
|
|
|
"svgo": "^2.3.0",
|
|
|
|
"ts-jest": "^27.0.3",
|
2021-11-21 16:59:06 +01:00
|
|
|
"typescript": "^4.0.2"
|
2020-04-23 14:58:14 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-04-23 18:07:39 +02:00
|
|
|
"config": "^3.3.1",
|
2020-09-03 08:30:15 +02:00
|
|
|
"express": "^4.17.1",
|
2021-11-21 16:59:06 +01:00
|
|
|
"swaf": "^0.24.7"
|
2020-04-23 14:55:48 +02:00
|
|
|
}
|
|
|
|
}
|