Skip to content

Commit

Permalink
Fixing tests in windows, and reducing published tarball size.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Oct 9, 2020
1 parent 6d1a496 commit 08456f3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "a single-spa plugin for svelte applications",
"main": "lib/single-spa-svelte.js",
"scripts": {
"build": "babel src --out-dir lib --source-maps",
"test": "BABEL_ENV=test jest",
"build": "rimraf lib && babel src/single-spa-svelte.js --out-file lib/single-spa-svelte.js --source-maps",
"test": "cross-env BABEL_ENV=test jest",
"lint": "eslint src",
"prettier": "prettier --write './**'",
"format": "prettier --write './**'",
"prepublishOnly": "npm run build"
},
"husky": {
Expand Down Expand Up @@ -41,12 +41,14 @@
"@types/jest": "^26.0.14",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^26.5.2",
"cross-env": "^7.0.2",
"eslint": "^7.11.0",
"eslint-config-important-stuff": "^1.1.0",
"husky": "^4.3.0",
"jest": "^26.5.2",
"jest-cli": "^26.5.2",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.2"
"pretty-quick": "^3.0.2",
"rimraf": "^3.0.2"
}
}
11 changes: 9 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2007,6 +2007,13 @@ cosmiconfig@^7.0.0:
path-type "^4.0.0"
yaml "^1.10.0"

cross-env@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9"
integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw==
dependencies:
cross-spawn "^7.0.1"

cross-spawn@^6.0.0:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
Expand All @@ -2027,7 +2034,7 @@ cross-spawn@^7.0.0:
shebang-command "^2.0.0"
which "^2.0.1"

cross-spawn@^7.0.2:
cross-spawn@^7.0.1, cross-spawn@^7.0.2:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
Expand Down Expand Up @@ -4689,7 +4696,7 @@ rimraf@2.6.3, rimraf@^2.6.1:
dependencies:
glob "^7.1.3"

rimraf@^3.0.0:
rimraf@^3.0.0, rimraf@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
Expand Down

0 comments on commit 08456f3

Please sign in to comment.