89 lines
2.1 KiB
JSON
89 lines
2.1 KiB
JSON
{
|
|
"name": "mykb",
|
|
"version": "0.3.0",
|
|
"description": "A file system/markdown based knowledge base editor/viewer",
|
|
"main": "src",
|
|
"keywords": [
|
|
"react",
|
|
"react-hooks",
|
|
"markdown",
|
|
"express",
|
|
"next"
|
|
],
|
|
"engines": {
|
|
"node": ">= 8.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "node src",
|
|
"build:clean": "rimraf .next",
|
|
"build:next": "next build",
|
|
"build:sw": "node bin/genServiceWorker.js",
|
|
"build": "run-s build:clean build:next build:sw",
|
|
"format-e": "eslint --fix .",
|
|
"format-p": "prettier --ignore-path .eslintignore --write '**/*.js'",
|
|
"format": "run-s format-p format-e",
|
|
"start": "cross-env NODE_ENV=production node src"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --write",
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"author": {
|
|
"name": "JJ Kasper",
|
|
"email": "jj@jjsweb.site"
|
|
},
|
|
"repository": "https://github.com/ijjk/mykb",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"dependencies": {
|
|
"bcrypt": "^3.0.2",
|
|
"body-parser": "^1.18.3",
|
|
"chokidar": "^2.0.4",
|
|
"codemirror": "^5.41.0",
|
|
"compression": "^1.7.3",
|
|
"cookie-parser": "^1.4.3",
|
|
"cross-env": "^5.2.0",
|
|
"express": "^4.16.4",
|
|
"express-rate-limit": "^3.3.2",
|
|
"fs-extra": "^7.0.1",
|
|
"helmet": "^3.15.0",
|
|
"isomorphic-unfetch": "^3.0.0",
|
|
"jsonwebtoken": "^8.3.0",
|
|
"keymirror": "^0.1.1",
|
|
"next": "^7.0.2",
|
|
"passport": "^0.4.0",
|
|
"passport-jwt": "^4.0.0",
|
|
"passport-local": "^1.0.0",
|
|
"react": "^16.7.0-alpha.0",
|
|
"react-dom": "^16.7.0-alpha.0",
|
|
"react-markdown": "^4.0.3",
|
|
"react-paginate": "^6.0.0",
|
|
"react-redux": "^5.1.0",
|
|
"redux": "^4.0.1",
|
|
"redux-localstorage": "^0.4.1",
|
|
"simple-git": "^1.107.0",
|
|
"url-join": "^4.0.0",
|
|
"uuid": "^3.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^10.0.1",
|
|
"eslint": "^5.8.0",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"husky": "^1.1.3",
|
|
"lint-staged": "^8.0.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^1.15.1",
|
|
"rimraf": "^2.6.2",
|
|
"server-destroy": "^1.0.1",
|
|
"sw-precache": "^5.2.1"
|
|
}
|
|
}
|