forked from json-schema-faker/json-schema-faker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "json-schema-faker",
"version": "0.5.0-rcv.40",
"description": "JSON-Schema + fake data generators",
"homepage": "http://json-schema-faker.js.org",
"types": "index.d.ts",
"bin": {
"jsf": "bin/gen.js"
},
"main": "dist/index.js",
"module": "dist/main.esm.js",
"browser": "dist/main.iife.js",
"unpkg": "dist/bundle.js",
"scripts": {
"dev": "npm run test:schema -- -w",
"test": "npm run test:ci -- && npm run test:schema",
"test:ci": "npm run coverage:unit && npm run report -- -r lcov",
"test:all": "npm run coverage:all && npm run report -- -r html",
"test:run": "_mocha --exit --colors --recursive --watch-files 'tests/**' --watch-files 'src/**' --watch-extensions js,json -r esm -bR spec",
"test:unit": "npm run test:run tests/unit --",
"test:schema": "npm run test:run tests/schema --",
"test:integration": "npm run test:run tests/integration --",
"coverage": "nyc --es-modules -x '**/tests/**' -x '**/*.spec.js'",
"coverage:all": "npm run coverage -- npm run test:all",
"coverage:unit": "npm run coverage -- npm run test:unit",
"report": "nyc report",
"lint": "eslint --ext js,svelte src tests",
"_pretest": "npm run lint",
"_prepublish": "npm run build",
"_graphviz": "madge src --dot > structure.gv",
"mortero": "mortero -Ddist -spublic -X{_base,lib} -ecss.less",
"watch": "npm run mortero -- -dw",
"build": "NODE_ENV=production npm run mortero -- --no-minify",
"pretest": "npm run lint && npm run build -- -ymain",
"copy:vendor": "concat -o dist/vendor.js node_modules/json-schema-ref-parser/dist/ref-parser.min.js node_modules/jsonpath-plus/dist/index-browser-umd.min.js",
"copy:bundle": "concat -o dist/bundle.js dist/vendor.js dist/main.iife.js",
"copy:wargs": "concat -o dist/wargs.min.js node_modules/wargs/dist/wargs.min.js",
"entry:cjs": "echo 'module.exports = require(\"./main.cjs.js\").default;' > dist/index.js",
"prepublishOnly": "npm run build -- -f",
"postbuild": "npm run copy:bundle && npm run entry:cjs",
"prebuild": "mkdir -p dist && npm run copy:vendor && npm run copy:wargs",
"codecov": "codecov --file=coverage/lcov.info -e TRAVIS_NODE_VERSION"
},
"mortero": {
"rename": [
"**/src/**:{filepath/1}",
"**/web/**:{filepath/1}"
],
"bundle": [
"**/main*.js",
"**/app.js"
],
"external": [
"json-schema-ref-parser",
"jsonpath-plus"
],
"options": {
"less": {
"plugins": [
"less-plugin-autoprefix"
]
}
}
},
"author": "Alvaro Cabrera <[email protected]> (https://soypache.co)",
"contributors": [
"Ajay Karat <[email protected]> (http://devilsgarage.com/)",
"Tomasz Ducin <[email protected]> (http://ducin.it)"
],
"repository": {
"type": "git",
"url": "https://github.com/json-schema-faker/json-schema-faker"
},
"bugs": "https://github.com/json-schema-faker/json-schema-faker/issues",
"license": "MIT",
"keywords": [
"json",
"jsonschema",
"fake",
"mocks"
],
"files": [
"dist/*.js",
"index.d.ts"
],
"devDependencies": {
"@types/json-schema": "^7.0.9",
"ajv": "^6.12.6",
"chai": "^4.1.2",
"chance": "^1.0.9",
"clone": "^2.1.2",
"codecov": "^3.8.2",
"concat": "^1.0.3",
"eslint": "^7.27.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-svelte3": "^3.2.0",
"eslint-utils": ">=1.4.1",
"esm": ">=3.1.0",
"faker": "^5.4.0",
"fs-extra": "^10.0.0",
"glob": "^7.1.2",
"glob-parent": ">=5.1.2",
"is-my-json-valid": "^2.19.0",
"less": "^4.1.1",
"less-plugin-autoprefix": "^2.0.0",
"mocha": "^7.0.0",
"mockjs": "^1.1.0",
"mortero": "^0.0.43",
"nyc": "^15.0.0",
"pug": "^3.0.2",
"randexp": "^0.5.3",
"seedrandom": "^3.0.1",
"semver": "^7.1.1",
"sinon": "^11.1.1",
"sinon-chai": "^3.7.0",
"smoo": "^0.0.14",
"svelte": "^3.38.2",
"set-value": ">=4.0.1",
"nth-check": ">=2.0.1",
"ansi-regex": ">=5.0.1",
"tv4": "^1.3.0",
"type-fest": "^2.0.0",
"wargs": "^0.9.2",
"yaml": "^1.10.2",
"yrv": "^0.0.47",
"z-schema": "^4.2.4"
},
"dependencies": {
"json-schema-ref-parser": "^6.1.0",
"jsonpath-plus": "^5.1.0"
}
}