-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.3 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
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "lwc-game",
"description": "My amazing LWC app",
"version": "0.0.1",
"author": "anmol.kumar",
"bugs": "https://github.com/anmol.kumar/lwc-game/issues",
"dependencies": {
"compression": "^1.7.4",
"express": "^4.17.1",
"helmet": "^4.1.0"
},
"devDependencies": {
"@lwc/jest-preset": "^7.0.0",
"eslint": "^7.8.1",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lint-staged": "^10.3.0",
"lwc-services": "^2.1.6",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1"
},
"engines": {
"node": ">=10.13.0",
"npm": ">=6.4.1",
"yarn": ">=1.9.4"
},
"homepage": "https://github.com/anmol.kumar/lwc-game",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"keywords": [
"lwc"
],
"license": "MIT",
"lint-staged": {
"**/*.{css,html,js,json,md,ts,yaml,yml}": [
"prettier --write"
],
"./src/**/*.js": [
"eslint"
]
},
"nodemonConfig": {
"watch": [
"src/server/**/*.js"
],
"ext": "js",
"ignore": [
"src/**/*.spec.js",
"src/**/*.test.js"
],
"exec": "node ./src/server/api.js"
},
"repository": "anmol.kumar/lwc-game",
"scripts": {
"build": "lwc-services build -m production",
"build:development": "lwc-services build",
"lint": "eslint ./src/**/*.js",
"prettier": "prettier --write \"**/*.{css,html,js,json,md,ts,yaml,yml}\"",
"prettier:verify": "prettier --list-different \"**/*.{css,html,js,json,md,ts,yaml,yml}\"",
"serve": "run-p serve:client serve:api",
"serve:api": "node src/server/api.js",
"serve:client": "node scripts/server.js",
"test:unit": "jest",
"test:unit:coverage": "lwc-services test:unit --coverage",
"test:unit:debug": "lwc-services test:unit --debug",
"test:unit:watch": "jest --watch",
"watch": "run-p watch:client watch:server",
"watch:client": "lwc-services watch",
"watch:server": "nodemon"
},
"jest": {
"preset": "@lwc/jest-preset",
"moduleNameMapper": {
"^foo-(.+)$": "./src/client/modules/my/$1/$1"
}
}
}