54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"name": "pronoun-monster",
|
|
"version": "0.1.0",
|
|
"description": "Rawr, if you must refer to me this is how you may",
|
|
"main": "app.js",
|
|
"scripts": {
|
|
"postinstall": "mkdir -p ./dist",
|
|
"start": "node app.js",
|
|
"prestart": "npm run start:css && npm run start:svg && npm run start:images",
|
|
"start:css": "tailwindcss -i ./src/app.css -o ./dist/app.css",
|
|
"start:svg": "npm run build:svg",
|
|
"start:images": "npm run build:images",
|
|
"serve": "concurrently npm:serve:*",
|
|
"build": "concurrently npm:build:*",
|
|
"serve:handlebars": "node app.js",
|
|
"serve:css": "tailwindcss -i ./src/app.css -o ./dist/app.css --watch",
|
|
"serve:svg": "nodemon --watch 'src/svgs/*' -e svg --exec 'npm run build:svg'",
|
|
"serve:image": "nodemon --watch 'src/images/*' --exec 'npm run build:images'",
|
|
"build:css": "tailwindcss -i ./src/app.css -o ./dist/app.css",
|
|
"build:svg": "svgdir2sprite ./src/svgs ./dist/spritesheet.svg",
|
|
"build:images": "mkdir -p ./dist ./dist/images && cp ./src/images/* ./dist/images/",
|
|
"test": "ava",
|
|
"lint": "prettier --check .",
|
|
"prepare": "husky install",
|
|
"deploy": "docker compose up --build -d"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "ssh://git@git.basking.monster:222/gaiety/pronoun-monster.git"
|
|
},
|
|
"author": "",
|
|
"license": "Unlicense",
|
|
"bugs": {
|
|
"url": "https://git.basking.monster/gaiety/pronoun-monster/issues"
|
|
},
|
|
"homepage": "https://pronoun.monster/",
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"ava": "^5.2.0",
|
|
"concurrently": "^7.6.0",
|
|
"express": "^4.18.2",
|
|
"express-handlebars": "^7.0.2",
|
|
"fs": "^0.0.1-security",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^13.2.0",
|
|
"nodemon": "^2.0.21",
|
|
"prettier": "2.8.4",
|
|
"svgdir2sprite": "^1.0.5",
|
|
"tailwindcss": "^3.2.7"
|
|
},
|
|
"lint-staged": {
|
|
"**/*": "prettier --write --ignore-unknown"
|
|
}
|
|
}
|