59 lines
2.1 KiB
JSON
59 lines
2.1 KiB
JSON
{
|
|
"name": "example-app",
|
|
"version": "0.1.0",
|
|
"description": "Example App based on swaf",
|
|
"repository": "https://eternae.ink/ashpie/swaf-boilerplate",
|
|
"author": "Alice Gaudon <alice@gaudon.pro>",
|
|
"private": true,
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"test": "jest --verbose --runInBand",
|
|
"clean": "node scripts/clean.js",
|
|
"prepare-sources": "node scripts/prepare-sources.js",
|
|
"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 ."
|
|
},
|
|
"devDependencies": {
|
|
"@tsconfig/svelte": "^3.0.0",
|
|
"@types/config": "^0.0.41",
|
|
"@types/express": "^4.17.6",
|
|
"@types/express-session": "^1.17.0",
|
|
"@types/formidable": "^2.0.0",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/mysql": "^2.15.15",
|
|
"@types/node": "^17.0.4",
|
|
"@types/nodemailer": "^6.4.0",
|
|
"@types/nunjucks": "^3.1.3",
|
|
"@types/ws": "^8.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
"@typescript-eslint/parser": "^5.4.0",
|
|
"concurrently": "^7.0.0",
|
|
"eslint": "^8.3.0",
|
|
"eslint-plugin-import": "^2.25.3",
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
"eslint-plugin-svelte3": "^3.2.1",
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
"imagemin-mozjpeg": "^10.0.0",
|
|
"imagemin-pngquant": "^9.0.2",
|
|
"imagemin-svgo": "^10.0.0",
|
|
"imagemin-webp": "^7.0.0",
|
|
"jest": "^27.0.4",
|
|
"maildev": "^1.1.0",
|
|
"nodemon": "^2.0.3",
|
|
"sass": "^1.32.12",
|
|
"svelte": "^3.44.2",
|
|
"svgo": "^2.3.0",
|
|
"ts-jest": "^27.0.3",
|
|
"typescript": "^4.0.2"
|
|
},
|
|
"dependencies": {
|
|
"config": "^3.3.1",
|
|
"express": "^4.17.1",
|
|
"swaf": "^0.25.1"
|
|
}
|
|
}
|