UNPKG

2.94 kBJSONView Raw
1{
2 "name": "json-schema-faker",
3 "version": "0.5.0-rc16",
4 "description": "JSON-Schema + fake data generators",
5 "homepage": "http://json-schema-faker.js.org",
6 "main": "dist/json-schema-faker.cjs.js",
7 "module": "dist/json-schema-faker.es.js",
8 "browser": "dist/json-schema-faker.min.js",
9 "scripts": {
10 "build:concat:dist": "concat -o dist/json-schema-faker.bundle.min.js node_modules/json-schema-ref-parser/dist/ref-parser.min.js node_modules/jsonpath/jsonpath.js dist/json-schema-faker.min.js",
11 "build:browser": "bili --banner --target browser --format umd,umd-min --moduleName JSONSchemaFaker --name json-schema-faker --js buble && npm run build:concat:dist",
12 "build:node": "bili src/index.js --target node --js buble --format es,cjs",
13 "build": "npm run build:browser && npm run build:node",
14 "dev": "npm test -- -w",
15 "test": "npm run test:unit --",
16 "test:ci": "npm run coverage:all && npm run report -- -r lcov",
17 "test:all": "npm run test:run tests && npm run report -- -r html",
18 "test:run": "NODE_ENV=test _mocha --exit --recursive --watch-extensions js,json -r esm -bR spec",
19 "test:unit": "npm run test:run tests/unit",
20 "test:schema": "npm run test:run tests/schema",
21 "coverage": "nyc -x '**/tests/**' -x '**/*.spec.js'",
22 "coverage:all": "npm run coverage -- npm run test:all",
23 "coverage:unit": "npm run coverage -- npm run test:unit",
24 "codecov": "codecov --file=coverage/lcov.info -e TRAVIS_NODE_VERSION",
25 "report": "nyc report",
26 "lint": "eslint src tests",
27 "pretest": "npm run lint",
28 "prepublish": "npm run build",
29 "graphviz": "madge src --dot > structure.gv"
30 },
31 "author": "Alvaro Cabrera <pateketrueke@gmail.com> (https://soypache.co)",
32 "contributors": [
33 "Ajay Karat <info@devilsgarage.com> (http://devilsgarage.com/)",
34 "Tomasz Ducin <tomasz@ducin.it> (http://ducin.it)"
35 ],
36 "repository": {
37 "type": "git",
38 "url": "https://github.com/json-schema-faker/json-schema-faker"
39 },
40 "bugs": "https://github.com/json-schema-faker/json-schema-faker/issues",
41 "license": "MIT",
42 "keywords": [
43 "json",
44 "jsonschema",
45 "fake",
46 "mocks"
47 ],
48 "bili": {
49 "external": [
50 "json-schema-ref-parser",
51 "jsonpath"
52 ]
53 },
54 "devDependencies": {
55 "ajv": "^6.5.3",
56 "bili": "^3.1.2",
57 "chai": "^4.1.2",
58 "chance": "^1.0.9",
59 "clone": "^2.1.2",
60 "codecov": "^3.0.0",
61 "concat": "^1.0.3",
62 "esm": "^3.0.82",
63 "faker": "^4.1.0",
64 "fs-extra": "^7.0.0",
65 "glob": "^7.1.2",
66 "is-my-json-valid": "^2.19.0",
67 "mocha": "^5.2.0",
68 "nyc": "^13.0.1",
69 "rollup": "^0.66.2",
70 "rollup-plugin-commonjs": "^9.1.0",
71 "rollup-plugin-node-resolve": "^3.0.0",
72 "seedrandom": "^2.4.3",
73 "semver": "^5.3.0",
74 "tv4": "^1.3.0",
75 "z-schema": "^3.18.4"
76 },
77 "dependencies": {
78 "json-schema-ref-parser": "^5.0.0",
79 "jsonpath": "^1.0.0",
80 "randexp": "^0.5.3"
81 }
82}