2020-04-22 15:52:17 +02:00
|
|
|
{
|
2020-11-12 16:11:16 +01:00
|
|
|
"name": "swaf",
|
2021-02-18 11:47:41 +01:00
|
|
|
"version": "0.23.6",
|
2020-11-12 16:11:16 +01:00
|
|
|
"description": "Structure Web Application Framework.",
|
2021-02-21 13:19:28 +01:00
|
|
|
"repository": "https://eternae.ink/ashpie/swaf",
|
2020-04-22 15:52:17 +02:00
|
|
|
"author": "Alice Gaudon <alice@gaudon.pro>",
|
|
|
|
"license": "MIT",
|
2020-08-25 18:26:37 +02:00
|
|
|
"readme": "README.md",
|
2020-04-23 11:16:05 +02:00
|
|
|
"publishConfig": {
|
2020-08-25 18:26:37 +02:00
|
|
|
"registry": "https://registry.npmjs.com",
|
|
|
|
"access": "public"
|
2020-04-23 11:16:05 +02:00
|
|
|
},
|
2021-01-25 12:37:41 +01:00
|
|
|
"main": "dist/main.js",
|
2020-04-22 15:52:17 +02:00
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"scripts": {
|
2020-04-23 11:40:55 +02:00
|
|
|
"test": "jest --verbose --runInBand",
|
2020-11-11 18:59:38 +01:00
|
|
|
"clean": "(test ! -d dist || rm -r dist)",
|
2021-01-25 12:52:18 +01:00
|
|
|
"prepareSources": "cp package.json src/",
|
2020-11-11 18:59:38 +01:00
|
|
|
"compile": "yarn clean && tsc",
|
2021-01-25 12:52:18 +01:00
|
|
|
"build": "yarn prepareSources && yarn compile && cp -r yarn.lock README.md config/ views/ dist/ && mkdir dist/types && cp src/types/* dist/types/",
|
2021-01-25 14:07:42 +01:00
|
|
|
"dev": "yarn prepareSources && concurrently -k -n \"Typescript,Node,Webpack,Maildev\" -p \"[{name}]\" -c \"blue,green,red,yellow\" \"tsc --watch\" \"nodemon\" \"maildev\"",
|
2020-11-11 18:59:38 +01:00
|
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
2021-01-25 12:37:41 +01:00
|
|
|
"release": "yarn build && yarn lint && yarn test && cd dist && yarn publish"
|
2020-04-22 15:52:17 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-07-09 14:18:05 +02:00
|
|
|
"@types/compression": "^1.7.0",
|
2021-01-22 13:42:15 +01:00
|
|
|
"@types/config": "^0.0.38",
|
2020-12-04 14:42:09 +01:00
|
|
|
"@types/connect-flash": "^0.0.36",
|
2020-07-11 11:15:39 +02:00
|
|
|
"@types/cookie": "^0.4.0",
|
2020-04-22 18:05:05 +02:00
|
|
|
"@types/cookie-parser": "^1.4.2",
|
2020-07-12 11:46:21 +02:00
|
|
|
"@types/express": "^4.17.6",
|
|
|
|
"@types/express-session": "^1.17.0",
|
2020-06-14 21:47:18 +02:00
|
|
|
"@types/formidable": "^1.0.31",
|
2020-06-03 13:44:47 +02:00
|
|
|
"@types/geoip-lite": "^1.1.31",
|
2020-07-11 11:15:39 +02:00
|
|
|
"@types/jest": "^26.0.4",
|
2020-04-22 18:05:05 +02:00
|
|
|
"@types/mjml": "^4.0.4",
|
2020-04-23 15:41:16 +02:00
|
|
|
"@types/mysql": "^2.15.10",
|
2021-01-22 15:54:26 +01:00
|
|
|
"@types/nanoid": "^2.1.0",
|
2020-07-12 11:46:21 +02:00
|
|
|
"@types/node-fetch": "^2.5.7",
|
2020-04-23 15:41:16 +02:00
|
|
|
"@types/nodemailer": "^6.4.0",
|
|
|
|
"@types/nunjucks": "^3.1.3",
|
2020-07-12 11:46:21 +02:00
|
|
|
"@types/on-finished": "^2.3.1",
|
2020-04-23 18:05:04 +02:00
|
|
|
"@types/redis": "^2.8.18",
|
2020-08-05 12:05:52 +02:00
|
|
|
"@types/supertest": "^2.0.10",
|
2020-07-12 11:46:21 +02:00
|
|
|
"@types/uuid": "^8.0.0",
|
2020-04-23 15:41:16 +02:00
|
|
|
"@types/ws": "^7.2.4",
|
2020-09-25 11:38:05 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.2.0",
|
|
|
|
"@typescript-eslint/parser": "^4.2.0",
|
2020-11-11 18:59:38 +01:00
|
|
|
"concurrently": "^5.3.0",
|
2020-09-25 11:38:05 +02:00
|
|
|
"eslint": "^7.9.0",
|
2020-07-11 11:15:39 +02:00
|
|
|
"jest": "^26.1.0",
|
|
|
|
"maildev": "^1.1.0",
|
|
|
|
"node-fetch": "^2.6.0",
|
2020-11-11 18:59:38 +01:00
|
|
|
"nodemon": "^2.0.6",
|
2020-11-02 17:52:16 +01:00
|
|
|
"supertest": "^6.0.0",
|
2020-07-11 11:15:39 +02:00
|
|
|
"ts-jest": "^26.1.1",
|
2020-08-26 14:29:03 +02:00
|
|
|
"typescript": "^4.0.2"
|
2020-07-11 11:15:39 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-08-26 14:29:03 +02:00
|
|
|
"argon2": "^0.27.0",
|
2020-07-09 14:18:05 +02:00
|
|
|
"compression": "^1.7.4",
|
2020-04-22 18:05:05 +02:00
|
|
|
"config": "^3.3.1",
|
|
|
|
"connect-flash": "^0.1.1",
|
|
|
|
"cookie": "^0.4.1",
|
|
|
|
"cookie-parser": "^1.4.5",
|
2020-04-22 15:52:17 +02:00
|
|
|
"express": "^4.17.1",
|
2020-04-23 18:05:04 +02:00
|
|
|
"express-session": "^1.17.1",
|
2020-06-14 21:47:18 +02:00
|
|
|
"formidable": "^1.2.2",
|
2020-06-03 13:44:47 +02:00
|
|
|
"geoip-lite": "^1.4.2",
|
2020-04-22 18:05:05 +02:00
|
|
|
"mjml": "^4.6.2",
|
|
|
|
"mysql": "^2.18.1",
|
2021-01-22 15:54:26 +01:00
|
|
|
"nanoid": "^3.1.20",
|
2020-04-22 18:05:05 +02:00
|
|
|
"nodemailer": "^6.4.6",
|
|
|
|
"nunjucks": "^3.2.1",
|
|
|
|
"on-finished": "^2.3.0",
|
2020-04-23 18:05:04 +02:00
|
|
|
"redis": "^3.0.2",
|
2020-08-26 14:29:03 +02:00
|
|
|
"ts-node": "^9.0.0",
|
2020-12-04 14:42:09 +01:00
|
|
|
"tslog": "^3.0.1",
|
2020-05-02 10:59:53 +02:00
|
|
|
"uuid": "^8.0.0",
|
2020-04-22 15:52:17 +02:00
|
|
|
"ws": "^7.2.3"
|
|
|
|
}
|
|
|
|
}
|