From 0ccdab762f488e6cba3521fdc4db975383df19e7 Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Wed, 13 Oct 2021 13:06:00 -0400 Subject: [PATCH] upgrading to node version 14 --- .travis.yml | 2 +- package.json | 8 ++++---- scripts/{generate_docs.js => generate_docs.cjs} | 0 scripts/{increment_version.js => increment_version.cjs} | 0 webpack.config.js => webpack.config.cjs | 0 5 files changed, 5 insertions(+), 5 deletions(-) rename scripts/{generate_docs.js => generate_docs.cjs} (100%) rename scripts/{increment_version.js => increment_version.cjs} (100%) rename webpack.config.js => webpack.config.cjs (100%) diff --git a/.travis.yml b/.travis.yml index 5827ab2f..7cd0393c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ sudo: false dist: bionic language: node_js node_js: -- '11' +- '14' install: - npm install - git config --global user.email "travis@travis-ci.org" diff --git a/package.json b/package.json index 769167a6..2d5e79e3 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ "scripts": { "build": "npm run increment && rm -rf build && npm run ts:build && npm run webpack:build", "codecov": "codecov", - "docs": "node scripts/generate_docs.js", + "docs": "node scripts/generate_docs.cjs", "docs:json": "cross-var typedoc --options \"./scripts/typedoc.json\" --json \"$npm_config_docs_json\"", - "increment": "node scripts/increment_version.js", + "increment": "node scripts/increment_version.cjs", "karma": "cross-var karma start ./test/karma.conf.js --single-run --file $npm_config_file --dir $npm_config_dir", "karma:browser": "cross-var karma start ./test/karma.conf.js --auto-watch --browsers OnlineChrome --file $npm_config_file --dir $npm_config_dir", "karma:watch": "cross-var karma start ./test/karma.conf.js --auto-watch --file $npm_config_file --dir $npm_config_dir", @@ -35,8 +35,8 @@ "test:watch": "npm run karma:watch", "ts:build": "tsc --project ./scripts/tsconfig.build.json", "watch": "tsc --watch", - "webpack:watch": "webpack -w --env.production --mode=development", - "webpack:build": "webpack -p --env.production" + "webpack:watch": "webpack -w --env.production --mode=development --config ./webpack.config.cjs", + "webpack:build": "webpack -p --env.production --config ./webpack.config.cjs" }, "repository": { "type": "git", diff --git a/scripts/generate_docs.js b/scripts/generate_docs.cjs similarity index 100% rename from scripts/generate_docs.js rename to scripts/generate_docs.cjs diff --git a/scripts/increment_version.js b/scripts/increment_version.cjs similarity index 100% rename from scripts/increment_version.js rename to scripts/increment_version.cjs diff --git a/webpack.config.js b/webpack.config.cjs similarity index 100% rename from webpack.config.js rename to webpack.config.cjs