-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.4 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
{
"name": "cylander",
"version": "1.0.0",
"description": "Cylander is a non-profit association dedicated to providing and producing free Cyber Security Knowledge",
"scripts": {
"start": "web-dev-server --config web-dev-server.config.mjs",
"watch": "npx nodemon --ignore dist --exec \"npx concurrently \\\"npm run start\\\" \\\"npm run generate:dev:all\\\"\"",
"test": "jest --verbose --coverage",
"test:browser": "jest --config=jest.config.js --testPathPattern=tests/browser",
"test:node": "jest --config=jest.config.js --testPathPattern=tests/node",
"format": "prettier --write \"**/**/*.js\" --config .prettierrc.json",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"generate:prod:all": "cross-env NODE_ENV=production node ./scene-generator/generateAllScenes.js",
"generate:dev:all": "cross-env NODE_ENV=development node ./scene-generator/generateAllScenes.js"
},
"dependencies": {
"cross-env": "^7.0.3",
"phaser": "^3.60.0"
},
"devDependencies": {
"@web/dev-server": "^0.3.0",
"@web/test-runner": "^0.17.0",
"concurrently": "^8.2.0",
"eslint": "^8.45.0",
"husky": "^8.0.3",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"prettier": "^3.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run generate:prod:all && npm run test && npm run lint:fix && npm run format",
"pre-push": "npm run lint"
}
}
}