Skip to content

Commit f20abf4

Browse files
committed
Better deployment and release process
1 parent acc98ff commit f20abf4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
.ruby-version
44
test.sass
55
npm-debug.log
6+
*.tar.gz
7+
*.zip
68

79
# Folders
810
.idea/
@@ -11,5 +13,4 @@ _gh_pages
1113
_site
1214
node_modules
1315
test/output/
14-
styles/coco.sass
15-
styles/sass/
16+
coco/

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@
4747
"build-sass": "copyfiles 'style/**/*.sass' 'dist/sass'",
4848
"build-scss": "gulp scss",
4949
"build-less": "gulp less",
50+
"compress": "cp -R dist coco && zip -r coco-v.zip coco && rm -rf coco",
5051
"deploy": "npm run build",
5152
"start": "npm run build-css -- --watch",
52-
"release": "npm run build && npm run build-docs"
53+
"release": "npm run build && npm run build-docs && npm run compress"
5354
},
5455
"files": [
5556
"dist",

0 commit comments

Comments
 (0)