-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.73 KB
/
Copy pathpackage.json
File metadata and controls
44 lines (44 loc) · 1.73 KB
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
{
"name": "text-quest",
"version": "0.5.0",
"description": "Text Quest: Unlock your imagination",
"repository": "https://github.com/desholmes/text-quest",
"scripts": {
"social-image-add": "cp ./src/images/text-quest-social-cover.png ./dist-$npm_config_game/",
"clean": "rm -rf ./dist-$npm_config_game/*.css ./dist-$npm_config_game/*.map ./dist-$npm_config_game/*.html ./dist-$npm_config_game/*.js ./dist-$npm_config_game/*.jpg ./dist-$npm_config_game/*.png ./dist-$npm_config_game/*.ico",
"start": "parcel --dist-dir=dist-$npm_config_game ./src/games/$npm_config_game/index.html",
"build": "npm run clean && parcel build --no-cache --dist-dir=dist-$npm_config_game ./src/games/$npm_config_game/index.html && npm run social-image-add",
"build:serve": "http-server dist-$npm_config_game/",
"prettier": "prettier --check ./src/",
"prettier:fix": "prettier --write ./src/",
"lint": "eslint --max-warnings=0 --config=eslint.config.mjs ./src/",
"lint:fix": "eslint --max-warnings=0 --fix --config=eslint.config.mjs ./src/",
"prettier-lint:fix": "npm run prettier:fix && npm run lint:fix",
"prepare": "husky"
},
"author": "Des Holmes https://github.com/desholmes",
"license": "MIT",
"devDependencies": {
"@parcel/transformer-image": "2.12.0",
"@parcel/transformer-sass": "2.12.0",
"@parcel/transformer-yaml": "2.12.0",
"eslint": "9.12.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"http-server": "14.1.1",
"husky": "9.1.6",
"parcel": "2.12.0",
"prettier": "3.3.3"
},
"dependencies": {
"text-terminal": "0.2.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier-lint:fix"
}
},
"engines": {
"node": ">=20.9.0"
}
}