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": {
|
2020-04-23 18:07:39 +02:00
|
|
|
"@babel/core": "^7.9.0",
|
|
|
|
"@babel/preset-env": "^7.9.5",
|
2020-09-05 17:36:08 +02:00
|
|
|
"@fortawesome/fontawesome-free": "^5.14.0",
|
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",
|
2020-09-23 13:30:48 +02:00
|
|
|
"@types/feather-icons": "^4.7.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",
|
2020-04-23 18:07:39 +02:00
|
|
|
"babel-loader": "^8.1.0",
|
2021-11-20 19:54:59 +01:00
|
|
|
"clear-module": "^4.1.2",
|
2021-03-30 12:39:40 +02:00
|
|
|
"concurrently": "^6.0.0",
|
2021-11-20 19:54:59 +01:00
|
|
|
"css-loader": "^6.5.1",
|
|
|
|
"eslint": "^8.2.0",
|
2020-04-23 18:07:39 +02:00
|
|
|
"feather-icons": "^4.28.0",
|
|
|
|
"file-loader": "^6.0.0",
|
2021-06-07 11:21:43 +02:00
|
|
|
"image-minimizer-webpack-plugin": "^2.2.0",
|
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",
|
2021-11-20 19:54:59 +01:00
|
|
|
"mini-css-extract-plugin": "^2.4.5",
|
2020-04-23 18:07:39 +02:00
|
|
|
"nodemon": "^2.0.3",
|
2021-11-20 19:54:59 +01:00
|
|
|
"normalize.css": "^8.0.1",
|
2021-04-30 11:54:50 +02:00
|
|
|
"sass": "^1.32.12",
|
2021-06-07 11:21:43 +02:00
|
|
|
"sass-loader": "^12.0.0",
|
2021-11-20 19:54:59 +01:00
|
|
|
"svelte": "^3.44.2",
|
|
|
|
"svelte-preprocess": "^4.9.8",
|
2021-06-07 11:21:43 +02:00
|
|
|
"svgo": "^2.3.0",
|
2020-11-02 18:17:55 +01:00
|
|
|
"terser-webpack-plugin": "^5.0.3",
|
2021-06-07 11:21:43 +02:00
|
|
|
"ts-jest": "^27.0.3",
|
2021-04-22 12:34:14 +02:00
|
|
|
"ts-loader": "^9.1.0",
|
2020-09-03 08:30:15 +02:00
|
|
|
"typescript": "^4.0.2",
|
2020-11-02 18:17:55 +01:00
|
|
|
"webpack": "^5.3.2",
|
|
|
|
"webpack-cli": "^4.1.0"
|
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-20 19:54:59 +01:00
|
|
|
"swaf": "^0.24.4"
|
2020-04-23 14:55:48 +02:00
|
|
|
}
|
|
|
|
}
|