-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuickSetup.sh
executable file
·53 lines (47 loc) · 1020 Bytes
/
QuickSetup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
while true; do
read -p "Have you run 'npm init' ? (Y/N)" yn
case $yn in
[Yy]* ) break;;
[Nn]* ) echo "Please answer the questions provided by 'npm init'"
wait
npm init
wait
break;;
* ) echo "Please answer yes or no.";;
esac
done
wait
npm install eslint --save-dev &
wait
npm install eslint-config-airbnb-base --save-dev &
wait
npm install eslint-plugin-mocha --save-dev &
wait
npm install eslint-plugin-import --save-dev &
wait
npm install nodemon --save-dev &
wait
npm install archiver --save-dev &
wait
npm install axios --save-dev &
wait
npm install node-fetch --save-dev &
wait
npm install jest --save-dev &
wait
npm install mocha --save-dev &
wait
npm install onchange --save-dev &
wait
npm install jsdom --save-dev &
wait
npm install wdio-mocha-framework --save-dev &
wait
npm install wdio-spec-reporter --save-dev &
wait
echo "please enter preferd linting options"
wait
node ./node_modules/.bin/eslint --init
wait
echo 'done!'