Rift.IO OSM R1 Initial Submission
[osm/UI.git] / skyquake / plugins / composer / scripts / update-node-modules.sh
1 #!/bin/sh
2
3 #
4 # Copyright 2016 RIFT.IO Inc
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18
19
20 # the order of the install is important
21
22 #npm install -g grunt-cli
23
24 npm cache clean
25
26 rm -R node_modules
27
28 # dependencies
29 npm install --save alt
30 npm install --save change-case
31 npm install --save classnames
32 npm install --save d3
33 npm install --save dropzone
34 npm install --save es5-shim
35 npm install --save events
36 npm install --save flux
37 npm install --save highlight.js
38 npm install --save jquery
39 npm install --save lodash
40 npm install --save moment
41 npm install --save normalize.css
42 npm install --save numeral
43 npm install --save object-assign
44 npm install --save react
45 npm install --save react-dom
46 npm install --save react-addons-pure-render-mixin
47 npm install --save react-highlight
48 npm install --save react-tooltip
49 npm install --save babel-polyfill
50
51 # dev-dependencies
52 npm install --save-dev imagemin
53 npm install --save-dev jasmine-core
54 npm install --save-dev babel
55 npm install --save-dev babel-core
56 npm install --save-dev eslint
57 npm install --save-dev karma
58 npm install --save-dev grunt
59 npm install --save-dev webpack
60 npm install --save-dev node-sass
61 npm install --save-dev phantomjs
62
63 npm install --save-dev grunt-contrib-clean
64 npm install --save-dev grunt-contrib-connect
65 npm install --save-dev grunt-contrib-copy
66 npm install --save-dev grunt-karma
67 npm install --save-dev grunt-open
68 npm install --save-dev load-grunt-tasks
69
70 npm install --save-dev karma-jasmine
71 npm install --save-dev karma-phantomjs-launcher
72 npm install --save-dev karma-script-launcher
73 npm install --save-dev karma-webpack
74
75 npm install --save-dev webpack-dev-server
76 npm install --save-dev grunt-webpack
77 npm install --save-dev react-hot-loader
78 npm install --save-dev image-webpack-loader
79 npm install --save-dev sass-loader
80 npm install --save-dev style-loader
81 npm install --save-dev url-loader
82 npm install --save-dev babel-preset-es2015
83 npm install --save-dev babel-preset-react
84 npm install --save-dev json-loader
85 npm install --save-dev babel-loader
86 npm install --save-dev css-loader
87 npm install --save-dev eslint-loader
88 npm install --save-dev eslint-plugin-react
89
90 grunt build
91 grunt serve