67 lines
2.2 KiB
JSON
67 lines
2.2 KiB
JSON
{
|
|
"name": "example-app",
|
|
"version": "0.1.0",
|
|
"description": "Example App based on swaf",
|
|
"repository": "https://eternae.ink/arisu/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 && tsc",
|
|
"build": "yarn prepare-sources && yarn compile && webpack --mode production",
|
|
"dev": "yarn prepare-sources && concurrently -k -n \"Typescript,Node,Webpack,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon\" \"webpack --watch --mode development\" \"maildev\"",
|
|
"start": "yarn build && node",
|
|
"lint": "eslint ."
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/preset-env": "^7.9.5",
|
|
"@fortawesome/fontawesome-free": "^5.14.0",
|
|
"@types/config": "^0.0.38",
|
|
"@types/express": "^4.17.6",
|
|
"@types/express-session": "^1.17.0",
|
|
"@types/feather-icons": "^4.7.0",
|
|
"@types/formidable": "^1.0.31",
|
|
"@types/jest": "^26.0.4",
|
|
"@types/mysql": "^2.15.15",
|
|
"@types/node": "^14.6.3",
|
|
"@types/nodemailer": "^6.4.0",
|
|
"@types/nunjucks": "^3.1.3",
|
|
"@types/ws": "^7.2.6",
|
|
"@typescript-eslint/eslint-plugin": "^4.3.0",
|
|
"@typescript-eslint/parser": "^4.3.0",
|
|
"babel-loader": "^8.1.0",
|
|
"concurrently": "^6.0.0",
|
|
"css-loader": "^5.0.0",
|
|
"eslint": "^7.10.0",
|
|
"feather-icons": "^4.28.0",
|
|
"file-loader": "^6.0.0",
|
|
"imagemin": "^7.0.1",
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
"imagemin-mozjpeg": "^9.0.0",
|
|
"imagemin-pngquant": "^9.0.0",
|
|
"imagemin-svgo": "^9.0.0",
|
|
"img-loader": "^3.0.1",
|
|
"jest": "^26.1.0",
|
|
"maildev": "^1.1.0",
|
|
"mini-css-extract-plugin": "^1.2.1",
|
|
"node-sass": "^5.0.0",
|
|
"nodemon": "^2.0.3",
|
|
"sass-loader": "^11.0.1",
|
|
"terser-webpack-plugin": "^5.0.3",
|
|
"ts-jest": "^26.1.1",
|
|
"ts-loader": "^8.0.4",
|
|
"typescript": "^4.0.2",
|
|
"webpack": "^5.3.2",
|
|
"webpack-cli": "^4.1.0"
|
|
},
|
|
"dependencies": {
|
|
"config": "^3.3.1",
|
|
"express": "^4.17.1",
|
|
"swaf": "^0.23.0"
|
|
}
|
|
}
|