Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit d53d65e

Browse files
committed
chore: setup firebase
1 parent 6049246 commit d53d65e

File tree

7 files changed

+467
-16
lines changed

7 files changed

+467
-16
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
build/
3+
styleguide/

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "smooth-ui"
4+
}
5+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
build/
3+
styleguide/

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
build/
3+
styleguide/

firebase.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"hosting": {
3+
"public": "styleguide",
4+
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
5+
}
6+
}

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "smooth-ui",
3-
"version": "1.0.0",
3+
"version": "0.0.0",
44
"main": "dist/smooth-ui.cjs.js",
55
"jsnext:main": "dist/smooth-ui.es.js",
66
"author": "Greg Bergé <[email protected]>",
@@ -12,8 +12,12 @@
1212
"build:lib": "cross-env BABEL_ENV=lib babel --out-dir build src",
1313
"build:rollup": "cross-env BABEL_ENV=rollup rollup -c",
1414
"build:watch": "yarn build:lib --watch",
15+
"deploy": "yarn deploy:docs && npm publish build",
16+
"deploy:docs": "firebase deploy",
1517
"dev": "styleguidist server",
16-
"prebuild": "shx rm -rf dist/*"
18+
"prebuild": "shx rm -rf dist/*",
19+
"release":
20+
"standard-version && conventional-github-releaser -p angular && yarn build"
1721
},
1822
"devDependencies": {
1923
"babel-cli": "^6.26.0",

0 commit comments

Comments
 (0)