mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Moved `source` page generation function to a new function module. Added option to function to create plain text download with a sanitized filename and made it accessible from a new page: `download`. Added the `download` item to the BrewItem so it appears on each brew on the User page. Added `sanitize-filename` dependency to `package.json`.
79 lines
2.1 KiB
JSON
79 lines
2.1 KiB
JSON
{
|
|
"name": "homebrewery",
|
|
"description": "Create authentic looking D&D homebrews using only markdown",
|
|
"version": "2.10.6",
|
|
"engines": {
|
|
"node": "12.16.x"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/naturalcrit/homebrewery.git"
|
|
},
|
|
"scripts": {
|
|
"dev": "node scripts/dev.js",
|
|
"quick": "node scripts/quick.js",
|
|
"build": "node scripts/buildHomebrew.js",
|
|
"buildall": "node scripts/buildHomebrew.js && node scripts/buildAdmin.js",
|
|
"lint": "eslint --fix **/*.{js,jsx}",
|
|
"lint:dry": "eslint **/*.{js,jsx}",
|
|
"circleci": "npm test && eslint **/*.{js,jsx} --max-warnings=0",
|
|
"verify": "npm run lint && npm test",
|
|
"test": "pico-check",
|
|
"test:dev": "pico-check -v -w",
|
|
"phb": "node scripts/phb.js",
|
|
"prod": "set NODE_ENV=production && npm run build",
|
|
"postinstall": "npm run buildall",
|
|
"start": "node server.js"
|
|
},
|
|
"author": "stolksdorf",
|
|
"license": "MIT",
|
|
"eslintIgnore": [
|
|
"build/*"
|
|
],
|
|
"pico-check": {
|
|
"require": "./tests/test.init.js"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"env",
|
|
"react"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/preset-env": "^7.12.11",
|
|
"@babel/preset-react": "^7.12.10",
|
|
"body-parser": "^1.19.0",
|
|
"classnames": "^2.2.6",
|
|
"codemirror": "^5.59.1",
|
|
"cookie-parser": "^1.4.5",
|
|
"create-react-class": "^15.7.0",
|
|
"express": "^4.17.1",
|
|
"express-static-gzip": "2.1.0",
|
|
"fs-extra": "9.0.1",
|
|
"googleapis": "66.0.0",
|
|
"jwt-simple": "^0.5.6",
|
|
"less": "^3.13.1",
|
|
"lodash": "^4.17.20",
|
|
"marked": "^0.3.19",
|
|
"moment": "^2.29.1",
|
|
"mongoose": "^5.11.9",
|
|
"nanoid": "3.1.20",
|
|
"nconf": "^0.11.0",
|
|
"prop-types": "15.7.2",
|
|
"query-string": "6.13.8",
|
|
"react": "^16.14.0",
|
|
"react-dom": "^16.14.0",
|
|
"react-frame-component": "4.1.3",
|
|
"react-router-dom": "5.2.0",
|
|
"sanitize-filename": "1.6.3",
|
|
"superagent": "^6.1.0",
|
|
"vitreum": "github:calculuschild/vitreum#21a8e1c9421f1d3a3b474c12f480feb2fbd28c5b"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.16.0",
|
|
"eslint-plugin-react": "^7.22.0",
|
|
"pico-check": "^2.0.3"
|
|
}
|
|
}
|