UNPKG

2.23 kBJSONView Raw
1{
2 "name": "rollup-plugin-type-as-json-schema",
3 "version": "0.2.2",
4 "description": "A rollup plugin to load a ts type as json schema object.",
5 "main": "dist/index.cjs",
6 "exports": {
7 ".": "./dist/index.mjs"
8 },
9 "files": [
10 "dist",
11 "index.d.ts"
12 ],
13 "sideEffects": false,
14 "scripts": {
15 "commit": "lint-staged && git-cz -n",
16 "build": "rollup -c",
17 "prepublishOnly": "rimraf dist && npm run build",
18 "coverage": "nyc report --reporter=text-lcov | coveralls",
19 "lint": "eslint --fix src test *.js",
20 "test": "cross-env NODE_ENV=test nyc mocha",
21 "start": "npm test -- --watch"
22 },
23 "repository": {
24 "type": "git",
25 "url": "git+https://github.com/wmzy/rollup-plugin-type-as-json-schema.git"
26 },
27 "keywords": [
28 "rollup-plugin",
29 "vite-plugin",
30 "json-schema",
31 "typescript",
32 "mock"
33 ],
34 "author": "wmzy",
35 "license": "MIT",
36 "bugs": {
37 "url": "https://github.com/wmzy/rollup-plugin-type-as-json-schema/issues"
38 },
39 "homepage": "https://github.com/wmzy/rollup-plugin-type-as-json-schema",
40 "engines": {
41 "node": ">=14"
42 },
43 "devDependencies": {
44 "@babel/core": "^7.14.6",
45 "@babel/preset-env": "^7.14.7",
46 "@babel/register": "^7.14.5",
47 "@rollup/plugin-node-resolve": "^13.0.0",
48 "@types/mocha": "^8.2.2",
49 "babel-eslint": "^10.1.0",
50 "commitizen": "^4.2.4",
51 "coveralls": "^3.1.1",
52 "cross-env": "^7.0.3",
53 "cz-conventional-changelog": "^3.3.0",
54 "eslint": "^7.29.0",
55 "eslint-config-airbnb-base": "^14.2.1",
56 "eslint-config-prettier": "^8.3.0",
57 "eslint-plugin-import": "^2.23.4",
58 "eslint-plugin-mocha": "^9.0.0",
59 "eslint-plugin-prettier": "^3.4.0",
60 "husky": "^6.0.0",
61 "lint-staged": "^11.0.0",
62 "mocha": "^9.0.1",
63 "nyc": "^15.1.0",
64 "prettier": "^2.3.2",
65 "rimraf": "^3.0.2",
66 "rollup": "^2.52.3",
67 "rollup-plugin-babel": "^4.4.0",
68 "should": "^13.2.3",
69 "should-sinon": "0.0.6",
70 "sinon": "^11.1.1",
71 "snap-shot-it": "^7.9.6",
72 "typescript": "^4.3.4"
73 },
74 "config": {
75 "commitizen": {
76 "path": "./node_modules/cz-conventional-changelog"
77 }
78 },
79 "dependencies": {
80 "lodash": "^4.17.21",
81 "ts-json-schema-generator": "^1.1.2"
82 }
83}