jrnl-render
Version:
Render a jrnl (jrnl.sh) file as a webpage.
125 lines (124 loc) • 3.65 kB
JSON
{
"name": "jrnl-render",
"version": "5.0.0",
"description": "Render a jrnl (jrnl.sh) file as a webpage.",
"browser": "dist/jrnl-render.standalone.js",
"unpkg": "dist/jrnl-render.standalone.min.js",
"main": "dist/jrnl-render.js",
"scripts": {
"build:standalone": "NODE_ENV=development STANDALONE=true rollup -c",
"build:standalone:min": "NODE_ENV=production STANDALONE=true rollup -c",
"build:cjs": "NODE_ENV=production rollup -c",
"build:cjs:dev": "NODE_ENV=development rollup -c",
"build:demo": "NODE_ENV=production STANDALONE=true rollup -c -o example/jrnl-render.standalone.js",
"build": "npm-run-all --parallel build:cjs build:cjs:dev build:standalone build:standalone:min",
"clean": "rimraf dist examples/jrnl-render.standalone.js",
"prebuild": "npm run clean",
"prepare": "npm run build",
"test": "npm run lint && jest",
"format": "prettier --write src/**/* && tslint --fix --project .",
"release": "np",
"lint": "tsc --noEmit && tslint --project .",
"dev": "npm run clean && NODE_ENV=development STANDALONE=true SERVE=true rollup -c --watch"
},
"files": [
"dist",
"src"
],
"repository": "sloria/jrnl-render",
"authors": [
"Steven Loria (https://github.com/sloria)"
],
"license": "MIT",
"keywords": [
"jrnl",
"jrnl.sh"
],
"devDependencies": {
"@babel/plugin-external-helpers": "^7.8.3",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.3.2",
"@rollup/plugin-typescript": "^4.1.1",
"@types/enzyme": "^3.1.16",
"@types/jest": "^24.0.0",
"@types/react": "^16.8.2",
"@types/react-dom": "^16.8.0",
"autoprefixer": "^9.0.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"chokidar": "^3.0.0",
"cssnano": "^4.0.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"husky": "^3.0.0",
"jest": "^24.3.1",
"lint-staged": "^9.1.0",
"np": "^5.0.0",
"npm-run-all": "^4.0.2",
"prettier": "^1.13.7",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rimraf": "^3.0.0",
"rollup": "^2.7.6",
"rollup-plugin-filesize": "^6.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.2.1",
"rollup-plugin-postcss": "^2.0.1",
"rollup-plugin-serve": "^1.0.0",
"rollup-plugin-terser": "^5.3.0",
"tachyons": "^4.11.0",
"ts-jest": "^24.0.0",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^3.6.0",
"typescript": "^3.8.3"
},
"peerDependencies": {
"react": "^16.4.1",
"react-dom": "^16.4.1",
"tachyons": "^4.11.0",
"highlight.js": "^9.12.0"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"tslint --fix",
"git add"
],
"*.{css,md}": [
"prettier --write",
"git add"
]
},
"jest": {
"preset": "ts-jest",
"setupTestFrameworkScriptFile": "<rootDir>src/setupTests.ts",
"testURL": "http://localhost/"
},
"dependencies": {
"jrnl-parse": "^0.4.0",
"rehype-highlight": "^2.1.0",
"rehype-stringify": "^5.0.0",
"remark": "^10.0.0",
"remark-ping": "^2.1.2",
"remark-rehype": "^4.0.0",
"slugify": "^1.3.0",
"tslib": "^1.9.3"
}
}