-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
npmx.txt
31 lines (23 loc) · 764 Bytes
/
npmx.txt
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
mkdir x-spreadsheet && cd x-spreadsheet
npm init -y
npm install webpack webpack-cli --save-dev
mkdir dist src
touch webpack.config.js
npm install --save-dev file-loader css-loader file-loader
npm install --save-dev html-webpack-plugin
npm install --save-dev clean-webpack-plugin
npm install --save-dev webpack-dev-server
npm install --save-dev webpack-merge
# less
npm install less --save-dev
npm install less-loader --save-dev
npm install eslint --save-dev
./node_modules/.bin/eslint --init # airbnb
# test mocha
npm install --save-dev mocha
# babel
npm install --save-dev babel-loader babel-core babel-preset-env
# for macha
npm install --save-dev babel-register
# npm install --save-dev babel-plugin-transform-runtime
# npm install --save babel-runtime