chore: use cross-env
This commit is contained in:
+4
-3
@@ -5,14 +5,14 @@
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
"start": "node lib/index.js",
|
||||
"dev": "NODE_ENV=dev nodemon --inspect lib/index.js",
|
||||
"dev": "cross-env NODE_ENV=dev nodemon --inspect lib/index.js",
|
||||
"docs:dev": "vuepress dev docs",
|
||||
"docs:build": "vuepress build docs",
|
||||
"format": "eslint \"**/*.js\" --fix && node docs/format.js && prettier \"**/*.{js,json,md}\" --write",
|
||||
"format:staged": "eslint \"**/*.js\" --fix && node docs/format.js && pretty-quick --staged --verbose --pattern \"**/*.{js,json,md}\"",
|
||||
"format:check": "eslint \"**/*.js\" && prettier-check \"**/*.{js,json,md}\"",
|
||||
"test": "npm run format:check && NODE_ENV=test jest --coverage --runInBand --forceExit",
|
||||
"jest": "NODE_ENV=test jest --runInBand --forceExit"
|
||||
"test": "npm run format:check && cross-env NODE_ENV=test jest --coverage --runInBand --forceExit",
|
||||
"jest": "cross-env NODE_ENV=test jest --runInBand --forceExit"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -34,6 +34,7 @@
|
||||
"@vuepress/plugin-back-to-top": "1.0.2",
|
||||
"@vuepress/plugin-google-analytics": "1.0.2",
|
||||
"@vuepress/plugin-pwa": "1.0.2",
|
||||
"cross-env": "5.2.0",
|
||||
"eslint": "6.0.1",
|
||||
"eslint-config-prettier": "6.0.0",
|
||||
"eslint-plugin-prettier": "3.1.0",
|
||||
|
||||
@@ -2850,6 +2850,14 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
|
||||
safe-buffer "^5.0.1"
|
||||
sha.js "^2.4.8"
|
||||
|
||||
cross-env@5.2.0:
|
||||
version "5.2.0"
|
||||
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2"
|
||||
integrity sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==
|
||||
dependencies:
|
||||
cross-spawn "^6.0.5"
|
||||
is-windows "^1.0.0"
|
||||
|
||||
cross-spawn@^5.0.1:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
|
||||
@@ -5434,7 +5442,7 @@ is-typedarray@~1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
|
||||
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
|
||||
|
||||
is-windows@^1.0.2:
|
||||
is-windows@^1.0.0, is-windows@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
|
||||
integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==
|
||||
|
||||
Reference in New Issue
Block a user