File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
/build
2
2
/cert.pem
3
+ /dist
3
4
/karma-reports
4
5
/key.pem
5
6
/lib
Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ to build.
54
54
&& npm install)`
55
55
1 . Configure the app by copying ` config.sample.json ` to ` config.json ` and
56
56
modifying it (see below for details)
57
- 1 . ` npm run package ` to build a tarball to deploy. Untaring this file will give
57
+ 1 . ` npm run dist ` to build a tarball to deploy. Untaring this file will give
58
58
a version-specific directory containing all the files that need to go on your
59
59
web server.
60
60
61
- Note that ` npm run package ` is not supported on Windows, so Windows users can run `npm
61
+ Note that ` npm run dist ` is not supported on Windows, so Windows users can run `npm
62
62
run build` , which will build all the necessary files into the ` vector`
63
63
directory. The version of Vector will not appear in Settings without
64
- using the package script. You can then mount the vector directory on your
64
+ using the dist script. You can then mount the vector directory on your
65
65
webserver to actually serve up the app, which is entirely static content.
66
66
67
67
config.json
Original file line number Diff line number Diff line change 33
33
"build:bundle:dev" : " webpack --optimize-occurence-order --progress" ,
34
34
"build" : " node scripts/babelcheck.js && npm run build:emojione && npm run build:css && npm run build:bundle" ,
35
35
"build:dev" : " npm run build:emojione && npm run build:css && npm run build:bundle:dev" ,
36
- "package " : " scripts/package.sh" ,
36
+ "dist " : " scripts/package.sh" ,
37
37
"start:emojione" : " cpx \" node_modules/emojione/assets/svg/*\" vector/emojione/svg/ -w" ,
38
38
"start:js" : " webpack -w --progress --no-cache-buster" ,
39
39
"start:js:prod" : " NODE_ENV=production webpack -w --progress --no-cache-buster" ,
Original file line number Diff line number Diff line change 5
5
version=` git describe --dirty --tags || echo unknown`
6
6
7
7
npm run build
8
- mkdir -p packages
8
+ mkdir -p dist
9
9
cp -r vector vector-$version
10
10
echo $version > vector-$version /version
11
- tar chvzf packages /vector-$version .tar.gz vector-$version
11
+ tar chvzf dist /vector-$version .tar.gz vector-$version
12
12
rm -r vector-$version
13
13
14
14
echo
15
- echo " Packaged packages /vector-$version .tar.gz"
15
+ echo " Packaged dist /vector-$version .tar.gz"
You can’t perform that action at this time.
0 commit comments