83 lines
2.6 KiB
JSON
83 lines
2.6 KiB
JSON
{
|
|
"name": "swaf",
|
|
"version": "0.23.1",
|
|
"description": "Structure Web Application Framework.",
|
|
"repository": "https://eternae.ink/arisu/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": "(test ! -d dist || rm -r dist)",
|
|
"prepareSources": "cp package.json src/",
|
|
"compile": "yarn clean && tsc",
|
|
"dev": "yarn prepareSources && concurrently -k -n \"Typescript,Node,Webpack,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon\" \"maildev\"",
|
|
"build": "yarn prepareSources && yarn compile && cp -r yarn.lock README.md config/ views/ dist/ && mkdir dist/types && cp src/types/* dist/types/",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
"release": "yarn build && yarn lint && yarn test && cd dist && yarn publish"
|
|
},
|
|
"devDependencies": {
|
|
"@types/compression": "^1.7.0",
|
|
"@types/config": "^0.0.38",
|
|
"@types/connect-flash": "^0.0.36",
|
|
"@types/cookie": "^0.4.0",
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/express": "^4.17.6",
|
|
"@types/express-session": "^1.17.0",
|
|
"@types/formidable": "^1.0.31",
|
|
"@types/geoip-lite": "^1.1.31",
|
|
"@types/jest": "^26.0.4",
|
|
"@types/mjml": "^4.0.4",
|
|
"@types/mysql": "^2.15.10",
|
|
"@types/nanoid": "^2.1.0",
|
|
"@types/node-fetch": "^2.5.7",
|
|
"@types/nodemailer": "^6.4.0",
|
|
"@types/nunjucks": "^3.1.3",
|
|
"@types/on-finished": "^2.3.1",
|
|
"@types/redis": "^2.8.18",
|
|
"@types/supertest": "^2.0.10",
|
|
"@types/uuid": "^8.0.0",
|
|
"@types/ws": "^7.2.4",
|
|
"@typescript-eslint/eslint-plugin": "^4.2.0",
|
|
"@typescript-eslint/parser": "^4.2.0",
|
|
"concurrently": "^5.3.0",
|
|
"eslint": "^7.9.0",
|
|
"jest": "^26.1.0",
|
|
"maildev": "^1.1.0",
|
|
"node-fetch": "^2.6.0",
|
|
"nodemon": "^2.0.6",
|
|
"supertest": "^6.0.0",
|
|
"ts-jest": "^26.1.1",
|
|
"typescript": "^4.0.2"
|
|
},
|
|
"dependencies": {
|
|
"argon2": "^0.27.0",
|
|
"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",
|
|
"formidable": "^1.2.2",
|
|
"geoip-lite": "^1.4.2",
|
|
"mjml": "^4.6.2",
|
|
"mysql": "^2.18.1",
|
|
"nanoid": "^3.1.20",
|
|
"nodemailer": "^6.4.6",
|
|
"nunjucks": "^3.2.1",
|
|
"on-finished": "^2.3.0",
|
|
"redis": "^3.0.2",
|
|
"ts-node": "^9.0.0",
|
|
"tslog": "^3.0.1",
|
|
"uuid": "^8.0.0",
|
|
"ws": "^7.2.3"
|
|
}
|
|
}
|