Skip to content

Commit 1ccaa8e

Browse files
committed
1 parent 3fe3d32 commit 1ccaa8e

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
sudo:
2-
false
1+
os:
2+
linux
3+
4+
dist:
5+
xenial
36

47
language:
58
node_js
69

710
node_js:
811
- 10
912
- 12
13+
- 14
1014

1115
script:
1216
- npm run test
17+
- npm run build
1318

1419
after_script:
1520
- npm run coveralls
@@ -18,11 +23,11 @@ jobs:
1823
include:
1924
- stage: release
2025
if: tag IS present
21-
node_js: 12
26+
node_js: 14
2227
deploy:
28+
edge: true
2329
provider: npm
2430
25-
skip_cleanup: true
2631
on:
2732
tags: true
2833
api_key:

package.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@
1313
"src"
1414
],
1515
"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",
2019
"coveralls": "cat ./coverage/lcov.info | coveralls",
2120
"format": "prettier --write '{src,test}/**/*.js' && eslint --fix '{src,test}/**/*.js'",
2221
"lint": "prettier --check '{src,test}/**/*.js' && eslint '{src,test}/**/*.js'",
23-
"prepublish": "npm run build",
2422
"pretest": "npm run lint",
2523
"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",
2624
"profiles:registry": "wget -O src/profiles/registry.json https://specs.frictionlessdata.io/schemas/registry.json",
@@ -29,9 +27,7 @@
2927
"profiles:fiscal-data-package": "wget -O src/profiles/fiscal-data-package.json https://specs.frictionlessdata.io/schemas/fiscal-data-package.json",
3028
"profiles:data-resource": "wget -O src/profiles/data-resource.json https://specs.frictionlessdata.io/schemas/data-resource.json",
3129
"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"
3531
},
3632
"dependencies": {
3733
"axios": "^0.19.0",
@@ -42,7 +38,7 @@
4238
"lodash": "^4.13.1",
4339
"regenerator-runtime": "^0.11.0",
4440
"stream-to-async-iterator": "^0.2.0",
45-
"tableschema": "^1.6.0",
41+
"tableschema": "^1.11.5",
4642
"tmp": "0.0.33",
4743
"tv4": "^1.2.7",
4844
"url-join": "^2.0.1"

0 commit comments

Comments
 (0)