From 410c93044bdb6d84c1e63b6c260198e25324ff4a Mon Sep 17 00:00:00 2001 From: Denis Dervisevic Date: Thu, 8 Jan 2015 15:23:36 +0100 Subject: [PATCH 1/4] Added more to bower ignore, for light package. Updated package.json for publishing on npm --- .npmignore | 1 + bower.json | 12 +++++++++++- package.json | 32 ++++++++++++++++++++++++++++++-- 3 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 000000000..45906a25d --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ + **/.* diff --git a/bower.json b/bower.json index eb443da1f..d6c362914 100644 --- a/bower.json +++ b/bower.json @@ -8,6 +8,9 @@ "authors": [ "Textalk", "David Jensen " + "Cameron Edwards", + "Mike Marcacci", + "Denis Dervisevic ", ], "moduleType": [ "globals" @@ -23,10 +26,17 @@ "license": "MIT", "ignore": [ "**/.*", + "*.js", + "*.json", "node_modules", "bower_components", "test", - "coverage" + "coverage", + "docs", + "examples", + "gulp", + "CHANGELOG", + "LICENSE" ], "dependencies": { "angular": ">= 1.2", diff --git a/package.json b/package.json index 78775683d..768eb4ffa 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,34 @@ { "name": "angular-schema-form", "version": "0.7.7", - "description": "Create forms from a JSON schema", + "description": "Create complex forms from a JSON schema with angular.", + "repository": "Textalk/angular-schema-form", + "main": "dist/schema-form.min.js", "scripts": { "test": "rm -fr coverage && ./node_modules/karma/bin/karma start --single-run --browsers PhantomJS karma.conf.js && find coverage/ -name lcov.info -print0 | xargs -0 cat | ./node_modules/coveralls/bin/coveralls.js" }, "author": "Textalk", + "contributors": [ + "David Jensen (https://github.com/davidlgj)", + "Cameron Edwards (https://github.com/cameronprattedwards)", + "Mike Marcacci (https://github.com/mike-marcacci)", + "Denis Dervisevic (https://github.com/Dervisevic)", + ], "license": "MIT", + "dependencies": { + "angular": ">= 1.2", + "tv4": "~1.0.15", + "angular-sanitize": ">= 1.2", + "objectpath": "~1.1.0" + }, + "keywords": [ + "angular", + "angularjs", + "form", + "json", + "json-schema", + "schema" + ], "devDependencies": { "chai": "^1.9.0", "coveralls": "^2.11.0", @@ -29,4 +51,10 @@ "sinon-chai": "^2.5.0", "streamqueue": "0.0.5" } -} +}, +"licenses": [ + { + "type": "MIT", + "url": "https://raw.githubusercontent.com/Textalk/angular-schema-form/master/LICENSE" + } +] From 0a8a1e95cea607513934aabbb5edef4016034633 Mon Sep 17 00:00:00 2001 From: Denis Dervisevic Date: Thu, 8 Jan 2015 15:35:41 +0100 Subject: [PATCH 2/4] Fixed problems with the json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 768eb4ffa..938435a5e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "David Jensen (https://github.com/davidlgj)", "Cameron Edwards (https://github.com/cameronprattedwards)", "Mike Marcacci (https://github.com/mike-marcacci)", - "Denis Dervisevic (https://github.com/Dervisevic)", + "Denis Dervisevic (https://github.com/Dervisevic)" ], "license": "MIT", "dependencies": { @@ -50,11 +50,11 @@ "sinon": "^1.9.0", "sinon-chai": "^2.5.0", "streamqueue": "0.0.5" - } -}, + }, "licenses": [ { "type": "MIT", "url": "https://raw.githubusercontent.com/Textalk/angular-schema-form/master/LICENSE" } ] +} From 17d03ecaa99d7b20b383156cb0ccf8db17a72c21 Mon Sep 17 00:00:00 2001 From: Denis Dervisevic Date: Thu, 8 Jan 2015 15:38:31 +0100 Subject: [PATCH 3/4] Fixed bower error, sorry --- bower.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index d6c362914..7e02bc100 100644 --- a/bower.json +++ b/bower.json @@ -7,10 +7,10 @@ "version": "0.7.7", "authors": [ "Textalk", - "David Jensen " + "David Jensen ", "Cameron Edwards", "Mike Marcacci", - "Denis Dervisevic ", + "Denis Dervisevic " ], "moduleType": [ "globals" From 4c13db16678f757751ffa251cc907168175b7a96 Mon Sep 17 00:00:00 2001 From: Denis Dervisevic Date: Thu, 8 Jan 2015 15:52:26 +0100 Subject: [PATCH 4/4] Mike does not have david's email :) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 938435a5e..34da7768e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "contributors": [ "David Jensen (https://github.com/davidlgj)", "Cameron Edwards (https://github.com/cameronprattedwards)", - "Mike Marcacci (https://github.com/mike-marcacci)", + "Mike Marcacci (https://github.com/mike-marcacci)", "Denis Dervisevic (https://github.com/Dervisevic)" ], "license": "MIT",