Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit c5c3ad7

Browse files
committed
🐛 Fix #241
1 parent e426c41 commit c5c3ad7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ before_install:
99
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libc6-dev-i386 gcc-multilib g++-multilib ; fi
1010

1111
before_script:
12+
- npm install snyk
13+
- npm run snyk-protect
1214
- npm install
1315

1416
script:

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pull_requests:
44
install:
55
- ps: Install-Product node 8
66
build_script:
7-
- cmd: npm install && npm install 7zip-bin-win && npm run build-windows
7+
- cmd: npm install snyk && npm run snyk-protect && npm install && npm install 7zip-bin-win && npm run build-windows
88
test: off
99
artifacts:
1010
- path: "dist\\eDEX-UI Windows Installer.exe"

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
"postbuild-linux": "rm -R prebuild-src",
2727
"postbuild-darwin": "rm -R prebuild-src",
2828
"postbuild-windows": "rmdir /S /Q prebuild-src",
29-
"snyk-protect": "snyk protect",
30-
"prepare": "npm run snyk-protect"
29+
"snyk-protect": "snyk protect"
3130
},
3231
"repository": {
3332
"type": "git",

0 commit comments

Comments
 (0)