Skip to content
Snippets Groups Projects
Commit 0fa6199e authored by Alvaro Cabrera Durán's avatar Alvaro Cabrera Durán
Browse files

Fixed build setup

parent 984a687c
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
{ {
"name": "json-schema-faker", "name": "json-schema-faker",
"version": "0.5.0-rc17", "version": "0.5.0-rc18",
"description": "JSON-Schema + fake data generators", "description": "JSON-Schema + fake data generators",
"homepage": "http://json-schema-faker.js.org", "homepage": "http://json-schema-faker.js.org",
"main": "dist/index.js", "main": "dist/index.js",
...@@ -8,8 +8,7 @@ ...@@ -8,8 +8,7 @@
"unpkg": "dist/bundle.umd.min.js", "unpkg": "dist/bundle.umd.min.js",
"browser": "dist/index.umd.min.js", "browser": "dist/index.umd.min.js",
"scripts": { "scripts": {
"build:concat:dist": "concat -o dist/bundle.umd.min.js node_modules/json-schema-ref-parser/dist/ref-parser.min.js node_modules/jsonpath-plus/dist/index-umd.min.js dist/index.umd.min.js", "build:browser": "bili --banner --format umd --format umd-min --module-name JSONSchemaFaker --minimal",
"build:browser": "bili --banner --format umd --format umd-min --module-name JSONSchemaFaker --minimal && npm run build:concat:dist",
"build:node": "bili src/index.js --minimal --format es --format cjs", "build:node": "bili src/index.js --minimal --format es --format cjs",
"build": "npm run build:browser && npm run build:node", "build": "npm run build:browser && npm run build:node",
"dev": "npm test -- -w", "dev": "npm test -- -w",
...@@ -46,12 +45,6 @@ ...@@ -46,12 +45,6 @@
"fake", "fake",
"mocks" "mocks"
], ],
"bili": {
"external": [
"json-schema-ref-parser",
"jsonpath"
]
},
"files": [ "files": [
"dist/*.*" "dist/*.*"
], ],
...@@ -62,7 +55,6 @@ ...@@ -62,7 +55,6 @@
"chance": "^1.0.9", "chance": "^1.0.9",
"clone": "^2.1.2", "clone": "^2.1.2",
"codecov": "^3.0.0", "codecov": "^3.0.0",
"concat": "^1.0.3",
"cryptiles": "^4.1.3", "cryptiles": "^4.1.3",
"eslint": "^6.0.1", "eslint": "^6.0.1",
"eslint-config-airbnb-base": "^14.0.0", "eslint-config-airbnb-base": "^14.0.0",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment