diff --git a/package-lock.json b/package-lock.json index 9b08015eb..f2bc4df8d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "babel-core": "^7.0.0-bridge.0", "babel-jest": "^22.4.3", "babel-plugin-external-helpers": "^6.22.0", - "cross-env": "^5.1.6", + "cross-env": "^5.2.1", "eslint": "^4.19.1", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.10.0", diff --git a/package.json b/package.json index e2baf268a..982c57fb9 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "main": "dayjs.min.js", "types": "index.d.ts", "scripts": { - "test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && TZ=America/Whitehorse npm run test-tz && npm run test-tz && jest --coverage --coverageThreshold='{ \"global\": { \"lines\": 100} }'", + "test": "cross-env TZ=Pacific/Auckland npm run test-tz && cross-env TZ=Europe/London npm run test-tz && cross-env TZ=America/Whitehorse npm run test-tz && npm run test-tz && jest --coverage --coverageThreshold='{ \"global\": { \"lines\": 100} }'", "test-tz": "date && jest test/timezone.test --coverage=false", - "lint": "./node_modules/.bin/eslint src/* test/* build/*", + "lint": "eslint src/* test/* build/*", "prettier": "prettier --write \"docs/**/*.md\"", "babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm", "build": "cross-env BABEL_ENV=build node build && npm run size", @@ -59,7 +59,7 @@ "babel-core": "^7.0.0-bridge.0", "babel-jest": "^22.4.3", "babel-plugin-external-helpers": "^6.22.0", - "cross-env": "^5.1.6", + "cross-env": "^5.2.1", "eslint": "^4.19.1", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.10.0",