78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "docbox",
|
|
"version": "1.0.9",
|
|
"description": "an api documentation website",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "budo src/index.js --serve=bundle.js --live",
|
|
"changelog": "standard-changelog -w CHANGELOG.md",
|
|
"test": "npm run test-unit && eslint src && npm run prerender -- /dev/null && rm -rf lib",
|
|
"test-unit": "mocha --compilers js:babel-register test",
|
|
"prerender": "babel src --out-dir lib && node lib/render.js",
|
|
"build": "NODE_ENV=production browserify src/index.js | uglifyjs -c -m > bundle.js && npm run prerender -- index.html",
|
|
"release": "standard-version && git push --follow-tags origin master; npm publish"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"babelify",
|
|
"brfs"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"api",
|
|
"documentation"
|
|
],
|
|
"author": "Tom MacWright",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"babel-cli": "^6.4.0",
|
|
"babel-eslint": "^8.0.0",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"babel-polyfill": "^6.3.14",
|
|
"babel-preset-es2015": "^6.3.13",
|
|
"babel-preset-react": "^6.3.13",
|
|
"babel-preset-stage-0": "^6.3.13",
|
|
"babelify": "^8.0.0",
|
|
"brfs": "^1.4.2",
|
|
"browserify": "^16.0.0",
|
|
"cssnano": "^3.4.0",
|
|
"es6-promise": "^4.1.0",
|
|
"eslint": "^4.1.0",
|
|
"eslint-plugin-babel": "^5.0.0",
|
|
"eslint-plugin-react": "^7.0.0",
|
|
"github-slugger": "^1.0.1",
|
|
"highlight.js": "^9.2.0",
|
|
"isomorphic-fetch": "^2.2.0",
|
|
"lodash.debounce": "^4.0.3",
|
|
"minifyify": "^7.1.0",
|
|
"prop-types": "^15.5.9",
|
|
"react": "^15.6.2",
|
|
"react-dom": "^15.6.2",
|
|
"remark": "^8.0.0",
|
|
"remark-html": "^7.0.0",
|
|
"remark-slug": "^5.0.0",
|
|
"standard-changelog": "^1.0.1",
|
|
"standard-version": "^4.0.0",
|
|
"unist-util-select": "^1.3.0",
|
|
"unist-util-visit": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-register": "^6.3.13",
|
|
"budo": "^11.0.0",
|
|
"cz-conventional-changelog": "2.1.0",
|
|
"expect": "^23.0.1",
|
|
"mocha": "^5.0.0",
|
|
"to-vfile": "^4.0.0",
|
|
"uglify-js": "^3.0.27"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tmcw/docbox.git"
|
|
}
|
|
}
|