UNPKG

miz

Version:

Generate mock data, just like a person.

87 lines (86 loc) 2.07 kB
{ "name": "miz", "version": "1.0.1", "description": "Generate mock data, just like a person.", "license": "MIT", "main": "lib/index.js", "module": "esm/index.js", "unpkg": "dist/miz.min.js", "types": "lib/index.d.ts", "files": [ "lib", "esm", "dist" ], "scripts": { "clean": "rimraf -rf lib esm dist", "size": "limit-size", "lint-staged": "lint-staged", "test": "jest", "build:umd": "rimraf ./dist && rollup -c", "build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib", "build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm", "build": "npm run build:cjs && npm run build:esm && npm run build:umd", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/hustcc/miz.git" }, "keywords": [ "mock", "faker", "miz", "mock-data", "fake-variable" ], "author": "hustcc", "bugs": { "url": "https://github.com/hustcc/miz/issues" }, "homepage": "https://github.com/hustcc/miz#readme", "devDependencies": { "@commitlint/cli": "^11.0.0", "@types/jest": "^26.0.20", "jest": "^26.6.3", "limit-size": "^0.1.4", "lint-staged": "^10.5.3", "prettier": "^2.2.1", "rimraf": "^3.0.2", "rollup": "^2.38.3", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-size": "^0.2.2", "rollup-plugin-typescript": "^1.0.1", "rollup-plugin-uglify": "^6.0.4", "ts-jest": "^26.5.0", "typescript": "^4.1.3", "variable-type": "^0.2.0" }, "jest": { "preset": "ts-jest", "collectCoverage": true, "testRegex": "(/__tests__/.*\\.(test|spec))\\.ts$", "collectCoverageFrom": [ "src/**/*.ts" ] }, "lint-staged": { "*.{ts,tsx}": [ "prettier --write", "git add" ] }, "husky": { "hooks": { "pre-commit": "npm run lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "limit-size": [ { "path": "dist/miz.min.js", "limit": "800 b", "gzip": true } ] }