-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 2.03 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
64
65
66
67
68
{
"name": "trivia",
"version": "1.0.0",
"description": "Trivia competition website",
"main": "dist/index.js",
"scripts": {
"build:front": "cd frontend; npx ng build --configuration production",
"build:back": "npx tsc",
"build:common": "mkdir -p dist/questions && ./anagram_targets.py dist/targets.json && ./build_dictionary.py dist/dictionary.txt && cp questions/*.json dist/questions/",
"prebuild": "npm run clean",
"build": "npm run build:common; npm run build:back; npm run build:front",
"clean": "rm -rf dist",
"start:dev:back": "npm run build:common && npx nodemon",
"start:dev:front": "cd frontend && npx ng serve",
"start:dev": "npm run build:common; npx concurrently -p \"[{name}]\" -n \"FRONT,BACK\" -c \"bgBlue.bold,bgGreen.bold\" \"npm run start:dev:front\" \"npm run start:dev:back\"",
"start": "node dist/index.js"
},
"keywords": [
"trivia"
],
"author": "L. S. Clark",
"license": "MIT",
"devDependencies": {
"@tsconfig/node14": "^1.0.1",
"@types/express": "^4.17.12",
"@types/glob": "^7.1.3",
"@types/ws": "^7.4.5",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"concurrently": "^6.2.0",
"eslint": "^7.32.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"nodemon": "^2.0.7",
"typescript": "^4.3.4"
},
"dependencies": {
"express": "^4.17.1",
"fuzzball": "^1.4.0",
"glob": "^7.1.7",
"rxjs": "^7.1.0",
"ws": "^7.5.0"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts,json",
"exec": "npm run build:back && npm start",
"delay": 2500
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"simple-import-sort"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
}
}
}