koa-web-kit
Version:
A modern, production-ready, and full-stack node web framework
208 lines (207 loc) • 6.15 kB
JSON
{
"name": "koa-web-kit",
"version": "2.11.3",
"description": "A modern, production-ready, and full-stack node web framework",
"main": "index.js",
"scripts": {
"dev": "cross-env ENABLE_HMR=1 ENABLE_SSR=0 STATIC_PREFIX='' node server.js",
"dev:ssr": "cross-env ENABLE_HMR=0 CSS_MODULES=0 ENABLE_SSR=1 npm-run-all -p watch watch:ssr start",
"dev:watch": "cross-env ENABLE_HMR=0 ENABLE_SSR=0 npm-run-all -p watch start",
"start": "nodemon --trace-warnings server.js",
"deploy": "./deploy.sh",
"deploy:noinstall": "npm run deploy -- 1",
"build:dev": "webpack --progress --hide-modules --config config/webpack.config.dev.js",
"ssg": "cross-env STATIC_PREFIX='' APP_PREFIX='' PREFIX_TRAILING_SLASH='' npm run build",
"watch": "webpack --watch --progress --hide-modules --config config/webpack.config.dev.js",
"node": "webpack --progress --config config/webpack.config.node.js",
"watch:ssr": "npm run ssr -- --watch",
"ssr": "webpack --progress --config config/webpack.config.ssr.js",
"build": "cross-env NODE_ENV=production webpack -p --progress --hide-modules --config config/webpack.config.prod.js",
"report": "cross-env NODE_ENV=production BUNDLE_ANALYZER=true webpack -p --progress --hide-modules --config config/webpack.config.prod.js",
"test": "npm run jest:node && npm run jest:client",
"jest:node": "jest --config=jest.config.node.js --forceExit",
"jest:client": "jest --config=jest.config.client.js",
"lint": "eslint --ignore-path .gitignore --ext .jsx,.js ./"
},
"engines": {
"node": ">= 8.12"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,json,scss,html}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/JasonBoy/koa-web-kit.git"
},
"keywords": [
"koa",
"es6",
"webpack",
"react",
"bootstrap",
"fullstack",
"framework"
],
"author": "jasonlikenfs@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/JasonBoy/koa-web-kit/issues"
},
"homepage": "https://github.com/JasonBoy/koa-web-kit#readme",
"readme": "README.md",
"dependencies": {
"@loadable/component": "5.11.0",
"@loadable/server": "5.11.0",
"bootstrap": "4.4.1",
"chalk": "3.0.0",
"core-js": "3.6.1",
"date-fns": "2.8.1",
"got": "9.6.0",
"html-minifier": "4.0.0",
"koa": "2.11.0",
"koa-body": "4.1.1",
"koa-compress": "3.0.0",
"koa-conditional-get": "2.0.0",
"koa-etag": "3.0.0",
"koa-favicon": "2.0.1",
"koa-helmet": "5.2.0",
"koa-morgan": "1.0.1",
"koa-mount": "4.0.0",
"koa-pino-logger": "2.1.3",
"koa-router": "7.4.0",
"koa-session": "5.12.3",
"koa-static": "5.0.0",
"lodash.isempty": "4.4.0",
"make-dir": "3.0.0",
"pino": "5.15.0",
"pino-pretty": "3.5.0",
"pm2": "3.5.1",
"prop-types": "15.7.2",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-router-dom": "5.1.2",
"slugify": "1.3.6",
"socks-proxy-agent": "4.0.2",
"styled-components": "4.4.1",
"tunnel": "0.0.6",
"whatwg-fetch": "3.0.0"
},
"devDependencies": {
"@babel/cli": "7.7.7",
"@babel/core": "7.7.7",
"@babel/helper-module-imports": "7.7.4",
"@babel/plugin-proposal-class-properties": "7.7.4",
"@babel/plugin-proposal-object-rest-spread": "7.7.7",
"@babel/plugin-syntax-dynamic-import": "7.7.4",
"@babel/plugin-transform-modules-commonjs": "7.7.5",
"@babel/plugin-transform-react-jsx-source": "7.7.4",
"@babel/plugin-transform-runtime": "7.7.6",
"@babel/preset-env": "7.7.7",
"@babel/preset-react": "7.7.4",
"@babel/runtime": "7.7.7",
"@loadable/babel-plugin": "5.11.0",
"@loadable/webpack-plugin": "5.7.1",
"autoprefixer": "9.7.3",
"babel-eslint": "10.0.3",
"babel-loader": "8.0.6",
"babel-minify-webpack-plugin": "0.3.1",
"babel-plugin-dynamic-import-node": "2.3.0",
"babel-plugin-styled-components": "1.10.6",
"cheerio": "1.0.0-rc.3",
"clean-webpack-plugin": "3.0.0",
"copy-webpack-plugin": "5.1.1",
"cross-env": "6.0.3",
"css-loader": "3.4.0",
"error-overlay-webpack-plugin": "0.4.1",
"eslint": "6.8.0",
"eslint-config-prettier": "6.9.0",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.17.0",
"eslint-plugin-react-hooks": "2.3.0",
"file-loader": "4.2.0",
"get-port": "5.1.0",
"html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0",
"husky": "3.0.9",
"ignore-loader": "0.1.2",
"jest": "24.9.0",
"jquery": "3.4.1",
"json-server": "0.15.1",
"koa-history-api-fallback": "1.0.0",
"koa-webpack": "5.2.4",
"lint-staged": "9.4.3",
"mini-css-extract-plugin": "0.9.0",
"nock": "11.7.0",
"nodemon": "2.0.2",
"npm-run-all": "4.1.5",
"popper.js": "1.16.0",
"postcss-loader": "3.0.0",
"preload-webpack-plugin": "3.0.0-beta.2",
"prettier": "1.19.1",
"sass": "1.32.4",
"sass-loader": "7.3.1",
"shelljs": "0.8.3",
"style-loader": "1.1.2",
"supertest": "3.4.2",
"terser-webpack-plugin": "2.3.1",
"url-loader": "2.2.0",
"webpack": "4.41.5",
"webpack-bundle-analyzer": "3.6.0",
"webpack-cli": "3.3.10",
"webpack-manifest-plugin": "2.2.0",
"webpack-merge": "4.2.2",
"webpack-node-externals": "1.7.2"
},
"browserslist": [
"> 1%",
"not ie 11",
"not op_mini all"
],
"nodemonConfig": {
"watch": [
"api/",
"config/",
"build/node",
"routes/",
"utils/",
"services/",
"app-config.js",
"server.js",
"app.js"
]
},
"files": [
"__tests__",
"api",
"config",
"mocks",
"routes",
"services",
"utils",
"views",
"src",
"app.js",
"deploy.sh",
"package.json",
"pm2.config.js",
"server.js",
".npmrc",
"Dockerfile",
".dockerignore",
"jest.config.*.js",
"babel.config.js",
".gitignore",
".prettierignore",
".prettierrc",
"LICENSE",
"postcss.config.js"
]
}