shinkansen-cogs 1.5.25 → 1.5.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.husky/pre-commit +0 -4
- package/gulp.sh +0 -42
package/package.json
CHANGED
package/.husky/pre-commit
DELETED
package/gulp.sh
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
NVM=~/.nvm
|
|
5
|
-
|
|
6
|
-
if [[ -f "$NVM/nvm.sh" ]];
|
|
7
|
-
then
|
|
8
|
-
unset npm_package_scripts_nvm
|
|
9
|
-
unset npm_config_prefix
|
|
10
|
-
unset npm_lifecycle_script
|
|
11
|
-
|
|
12
|
-
source $NVM/nvm.sh
|
|
13
|
-
fi
|
|
14
|
-
|
|
15
|
-
VERSION=$(nvm --version)
|
|
16
|
-
|
|
17
|
-
if [[ -z "$VERSION" ]];
|
|
18
|
-
then
|
|
19
|
-
echo NVM not installed
|
|
20
|
-
else
|
|
21
|
-
echo NVM version $VERSION installed
|
|
22
|
-
|
|
23
|
-
set -e
|
|
24
|
-
|
|
25
|
-
nvm use &> /dev/null
|
|
26
|
-
|
|
27
|
-
if [[ $? != 0 ]];
|
|
28
|
-
then
|
|
29
|
-
echo NVM not configured
|
|
30
|
-
else
|
|
31
|
-
echo NVM configured
|
|
32
|
-
fi
|
|
33
|
-
fi
|
|
34
|
-
|
|
35
|
-
if [[ $# -gt 0 ]];
|
|
36
|
-
then
|
|
37
|
-
npx gulp "$@"
|
|
38
|
-
else
|
|
39
|
-
npx gulp
|
|
40
|
-
fi
|
|
41
|
-
|
|
42
|
-
exit 0
|