UNPKG

rollup-plugin-type-as-json-schema

Version:
88 lines (87 loc) 2.35 kB
{ "name": "rollup-plugin-type-as-json-schema", "version": "0.2.5", "description": "A rollup plugin to load a ts type as json schema object.", "main": "dist/index.cjs", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "files": [ "dist", "index.d.ts" ], "sideEffects": false, "scripts": { "commit": "lint-staged && git-cz -n", "build": "rollup -c", "preversion": "rimraf dist && npm run build", "postversion": "git push --follow-tags && npm publish", "coverage": "nyc report --reporter=text-lcov | coveralls", "lint": "eslint --fix src test *.js", "test": "cross-env NODE_ENV=test nyc mocha", "start": "npm test -- --watch" }, "repository": { "type": "git", "url": "git+https://github.com/wmzy/rollup-plugin-type-as-json-schema.git" }, "keywords": [ "rollup-plugin", "vite-plugin", "json-schema", "typescript", "mock" ], "author": "wmzy", "license": "MIT", "bugs": { "url": "https://github.com/wmzy/rollup-plugin-type-as-json-schema/issues" }, "homepage": "https://github.com/wmzy/rollup-plugin-type-as-json-schema", "engines": { "node": ">=14" }, "devDependencies": { "@babel/core": "^7.14.6", "@babel/preset-env": "^7.14.7", "@babel/register": "^7.14.5", "@rollup/plugin-node-resolve": "^13.0.0", "@types/mocha": "^8.2.2", "babel-eslint": "^10.1.0", "commitizen": "^4.2.4", "coveralls": "^3.1.1", "cross-env": "^7.0.3", "cz-conventional-changelog": "^3.3.0", "eslint": "^7.29.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.23.4", "eslint-plugin-mocha": "^9.0.0", "eslint-plugin-prettier": "^3.4.0", "husky": "^6.0.0", "lint-staged": "^11.0.0", "mocha": "^9.0.1", "nyc": "^15.1.0", "prettier": "^2.3.2", "rimraf": "^3.0.2", "rollup": "^2.52.3", "rollup-plugin-babel": "^4.4.0", "should": "^13.2.3", "should-sinon": "0.0.6", "sinon": "^11.1.1", "snap-shot-it": "^7.9.6", "typescript": "^4.3.4" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "dependencies": { "lodash": "^4.17.21", "ts-json-schema-generator": "^1.1.2" } }