UNPKG

@wii/fastify-webpack

Version:

fastify plugin for webpack

83 lines (82 loc) 2.22 kB
{ "name": "@wii/fastify-webpack", "version": "1.0.3", "description": "fastify plugin for webpack", "main": "lib/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build:client": "cross-env BABEL_ENV=commonjs babel ./client/index.ts --extensions .ts -o ./client/index.js", "build:lib": "cross-env BABEL_ENV=commonjs babel ./src --extensions .ts -d ./lib", "build": "npm run build:client && npm run build:lib && npx tsc", "preversion": "npm run build", "version": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s && git add CHANGELOG.md", "postversion": "npm publish", "postpublish": "git push --follow-tags" }, "keywords": [ "fastify", "plugin", "fastify-plugin", "webpack", "webpack-dev-middleware", "webpack-hot-middleware", "hmr" ], "author": "jasonngao <jasonngao@tencent.com>", "license": "MIT", "repository": { "type": "https", "url": "https://git.woa.com/tourism-fe/fastify-webpack.git" }, "devDependencies": { "@babel/cli": "^7.21.5", "@commitlint/cli": "^17.6.5", "@commitlint/config-conventional": "^17.6.5", "@types/mime-types": "^2.1.1", "@types/negotiator": "^0.6.1", "@wii/babel-preset-lib": "^1.50.1", "@wii/eslint-config-wii": "^1.52.2", "@wii/jest-preset-wii": "^1.50.1", "@wii/prettier-config-wii": "^1.50.1", "conventional-changelog-cli": "^2.2.2", "cross-env": "^7.0.3", "husky": "^8.0.3", "lint-staged": "^13.2.2", "typescript": "^5.1.3" }, "dependencies": { "core-js": "^3.30.2", "fastify": "^4.17.0", "fastify-plugin": "^4.5.0", "memfs": "^3.5.1", "mime-types": "^2.1.35", "negotiator": "^0.6.3", "webpack": "^5.85.0" }, "eslintConfig": { "root": true, "extends": [ "@wii/eslint-config-wii" ], "rules": { "camelcase": "off" } }, "prettier": "@wii/prettier-config-wii", "files": [ "lib", "client", "client.js" ], "lint-staged": { "*.{js,jsx,ts,tsx}": [ "eslint --fix" ], "*.{css,less}": [ "stylelint --fix --allow-empty-input" ], "*.{json,md}": [ "prettier --write" ] } }