|
13 | 13 | "src" |
14 | 14 | ], |
15 | 15 | "scripts": { |
16 | | - "build": "npm run build:lib && npm run build:dist && npm run build:dist-min", |
17 | | - "build:lib": "babel src --out-dir lib --copy-files", |
18 | | - "build:dist": "webpack --progress --hide-modules", |
19 | | - "build:dist-min": "NODE_ENV=production webpack --progress --hide-modules", |
| 16 | + "build": "npm run compile && npm run bundle", |
| 17 | + "bundle": "webpack --progress --hide-modules && NODE_ENV=production webpack --progress --hide-modules", |
| 18 | + "compile": "babel src --out-dir lib --copy-files", |
20 | 19 | "coveralls": "cat ./coverage/lcov.info | coveralls", |
21 | 20 | "format": "prettier --write '{src,test}/**/*.js' && eslint --fix '{src,test}/**/*.js'", |
22 | 21 | "lint": "prettier --check '{src,test}/**/*.js' && eslint '{src,test}/**/*.js'", |
23 | | - "prepublish": "npm run build", |
24 | 22 | "pretest": "npm run lint", |
25 | 23 | "profiles": "npm run profiles:registry && npm run profiles:data-package && npm run profiles:tabular-data-package && npm run profiles:fiscal-data-package && npm run profiles:data-resource && npm run profiles:tabular-data-resource", |
26 | 24 | "profiles:registry": "wget -O src/profiles/registry.json https://specs.frictionlessdata.io/schemas/registry.json", |
|
29 | 27 | "profiles:fiscal-data-package": "wget -O src/profiles/fiscal-data-package.json https://specs.frictionlessdata.io/schemas/fiscal-data-package.json", |
30 | 28 | "profiles:data-resource": "wget -O src/profiles/data-resource.json https://specs.frictionlessdata.io/schemas/data-resource.json", |
31 | 29 | "profiles:tabular-data-resource": "wget -O src/profiles/tabular-data-resource.json https://specs.frictionlessdata.io/schemas/tabular-data-resource.json", |
32 | | - "test": "npm run test:node && npm run test:browser", |
33 | | - "test:node": "NODE_ENV=testing nyc mocha", |
34 | | - "test:browser": "NODE_ENV=testing karma start" |
| 30 | + "test": "NODE_ENV=testing nyc mocha && karma start" |
35 | 31 | }, |
36 | 32 | "dependencies": { |
37 | 33 | "axios": "^0.19.0", |
|
42 | 38 | "lodash": "^4.13.1", |
43 | 39 | "regenerator-runtime": "^0.11.0", |
44 | 40 | "stream-to-async-iterator": "^0.2.0", |
45 | | - "tableschema": "^1.6.0", |
| 41 | + "tableschema": "^1.11.5", |
46 | 42 | "tmp": "0.0.33", |
47 | 43 | "tv4": "^1.2.7", |
48 | 44 | "url-join": "^2.0.1" |
|
0 commit comments