-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 2.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "lumi-education-homepage",
"version": "0.0.0",
"description": "Lumi.education",
"author": "J.P. Schellenberg",
"dependencies": {
"body-parser": "1.20.2",
"bootstrap": "4.6.2",
"express": "4.18.2",
"express-handlebars": "6.0.7",
"express-limit": "0.1.0",
"helmet": "4.6.0",
"i18n": "0.15.1",
"i18next": "21.10.0",
"i18next-fs-backend": "1.2.0",
"i18next-http-middleware": "3.3.2",
"jquery": "3.7.1",
"jquery-migrate": "3.4.1",
"morgan": "1.10.0",
"popper.js": "1.16.1",
"superagent": "6.1.0"
},
"scripts": {
"build": "npx tsc --project tsconfig.json && ./scripts/copy-js.sh",
"ci": "npm run lint && npm run format:check && npm run build",
"clean": "rm -rf build/",
"format": "npx prettier --write \"{src,test}/**/*.ts\"",
"format:check": "npx prettier --check \"{src,test}/**/*.ts\"",
"lint": "./node_modules/.bin/tslint --project tsconfig.json --config tslint.json",
"uninstall": "rm -rf build/ && rm -rf node_modules/",
"heroku-postbuild": "npm run build",
"watch": "./scripts/copy-js.sh && cross-env NODE_ENV=development nodemon",
"localize": "mv locales/zh-hans.json locales/zh.json && json-autotranslate -d --directory-structure ngx-translate -c google_translate.json -s google-translate --decode-escapes -t key-based -i locales -m i18next && prettier --write \"locales/*.json\" && mv locales/zh.json locales/zh-hans.json",
"start": "node build/app.js"
},
"publishConfig": {
"access": "restricted"
},
"devDependencies": {
"@commitlint/config-conventional": "15.0.0",
"@types/body-parser": "1.19.2",
"@types/express": "4.17.17",
"@types/express-serve-static-core": "4.17.36",
"@types/i18next": "13.0.0",
"@types/node": "16.18.48",
"commitlint": "17.7.1",
"cross-env": "7.0.3",
"husky": "7.0.4",
"json-autotranslate": "1.12.2",
"nodemon": "2.0.22",
"prettier": "2.8.8",
"ts-node": "10.9.1",
"tslint": "6.1.3",
"tslint-config-airbnb": "5.11.2",
"tslint-config-prettier": "1.18.0",
"tslint-react": "5.0.0",
"typescript": "4.9.5"
},
"repository": {
"type": "git",
"url": "https://github.com/Lumieducation/homepage.git"
}
}