Skip to content

Commit 15f3df5

Browse files
committed
Initial commit
0 parents  commit 15f3df5

File tree

5 files changed

+83
-0
lines changed

5 files changed

+83
-0
lines changed

.gitattributes

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
7+
# Standard to msysgit
8+
*.doc diff=astextplain
9+
*.DOC diff=astextplain
10+
*.docx diff=astextplain
11+
*.DOCX diff=astextplain
12+
*.dot diff=astextplain
13+
*.DOT diff=astextplain
14+
*.pdf diff=astextplain
15+
*.PDF diff=astextplain
16+
*.rtf diff=astextplain
17+
*.RTF diff=astextplain

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/node_modules
2+
/test/specs.js
3+
.DS_Store

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build
2+
docs
3+
bower.json

build/webpack.build.config.js

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
var webpack = require("webpack");
2+
var version = require("../package.json").version;
3+
var banner = "/**\n" + " * vue-form-generator v" + version + "\n" + " * https://github.com/icebob/vue-form-generator\n" + " * Released under the MIT License.\n" + " */\n";
4+
5+
module.exports = [
6+
7+
{
8+
entry: "./src/index",
9+
output: {
10+
path: "./dist",
11+
filename: "vue-form-generator.js",
12+
library: "VueFormGenerator",
13+
libraryTarget: "umd"
14+
},
15+
plugins: [
16+
new webpack.BannerPlugin(banner, {
17+
raw: true
18+
})]
19+
},
20+
21+
{
22+
entry: "./src/index",
23+
output: {
24+
path: "./dist",
25+
filename: "vue-form-generator.js",
26+
library: "VueFormGenerator",
27+
libraryTarget: "umd"
28+
},
29+
plugins: [
30+
new webpack.optimize.UglifyJsPlugin,
31+
new webpack.BannerPlugin(banner, {
32+
raw: true
33+
})]
34+
}
35+
36+
];

package.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "vue-form-generator",
3+
"version": "0.1.0",
4+
"description": "A schema-based form generator component for Vue.js",
5+
"main": "src/index.js",
6+
"scripts": {
7+
"build": "webpack --config build/webpack.build.config.js",
8+
"test": "webpack --config test/webpack.config.js"
9+
},
10+
"keywords": [
11+
"vue",
12+
"vuejs",
13+
"form",
14+
"generator",
15+
"schema",
16+
"json"
17+
],
18+
"author": "Icebob",
19+
"license": "MIT",
20+
"devDependencies": {
21+
"vue": "^1.0.21",
22+
"webpack": "1.13.0"
23+
}
24+
}

0 commit comments

Comments
 (0)