Skip to content

Commit

Permalink
lib, docs and demo
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamindavid committed Jan 19, 2019
1 parent e20a0fb commit 3260e50
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 43 deletions.
2 changes: 1 addition & 1 deletion build/bili.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
input: './src/app.js',
input: './src/lib.js',
moduleName: 'CraftUi',
exports: 'named',
format: 'umd,es,cjs,umd-min',
Expand Down
2 changes: 1 addition & 1 deletion config/storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Craft UI */
import Vue from 'vue'
import '../../src/sass/storybook.scss';
import CraftUi from '../../src/plugin'
import CraftUi from '../../src/lib'
Vue.use(CraftUi)

/* Stories */
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions dist-demo/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist-docs/js/app.js.map → dist-demo/js/app.js.map

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions dist-docs/js/app.js

This file was deleted.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"unpkg": "dist/craftui.min.js",
"module": "dist/craftui.es.js",
"scripts": {
"serve:app": "vue-cli-service serve ./src/docs.js",
"build:app": "vue-cli-service build ./src/docs.js",
"lint:app": "vue-cli-service lint ./src/app.js",
"serve:storybook": "vue-cli-service serve:storybook -p 6006 -c config/storybook",
"build:storybook": "vue-cli-service build:storybook -c config/storybook",
"bili": "bili --config build/bili.config.js"
"build": "bili --config build/bili.config.js",
"serve:docs": "vue-cli-service serve:storybook -p 6006 -c config/storybook",
"build:docs": "vue-cli-service build:storybook -c config/storybook",
"serve:demo": "vue-cli-service serve ./src/demo.js",
"build:demo": "vue-cli-service build ./src/demo.js",
"lint:demo": "vue-cli-service lint ./src/demo.js"
},
"dependencies": {
"babel-plugin-transform-class-properties": "^6.24.1",
Expand Down
File renamed without changes.
File renamed without changes.
31 changes: 0 additions & 31 deletions src/wrapper.js

This file was deleted.

2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
filenameHashing: false,
outputDir: 'dist-docs'
outputDir: 'dist-demo'
}

0 comments on commit 3260e50

Please sign in to comment.