From 7cfd7983178ad453f551bb5c2522620f42f96e07 Mon Sep 17 00:00:00 2001 From: khawkins98 <khawkins98@gmail.com> Date: Thu, 20 Apr 2017 10:14:25 +0100 Subject: [PATCH] Add NPM publishing for #81 --- .gitignore | 3 ++- .npmignore | 13 +++++++++++++ README.md | 2 +- package.json | 14 +++++++++++++- 4 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 .npmignore diff --git a/.gitignore b/.gitignore index cb80c4e2..1b6d8e27 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules .DS_store -_site \ No newline at end of file +_site +npm-debug.log \ No newline at end of file diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..5f4eb451 --- /dev/null +++ b/.npmignore @@ -0,0 +1,13 @@ +.*.swp +._* +.DS_Store +.git +.hg +.npmrc +.lock-wscript +.svn +.wafpickle-* +config.gypi +CVS +npm-debug.log + diff --git a/README.md b/README.md index a8daf131..c1dded57 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # EBI-Framework v1.2 -This is an early EBI Visual Framework dev version of the v1.2 targeted for a July 2017 release. Homed here are the various assets that make the EBI Visual Framework (CSS, JS, and a few images and build scripts). +v1.2 is targeted for a July 2017 release. Homed here are the various assets that make the EBI Visual Framework (CSS, JS, and a few images and build scripts). To view plans for v1.2 (and to join the discussion), [see issue 61](https://github.com/ebiwd/EBI-Framework/issues/61). diff --git a/package.json b/package.json index aed9de75..0f67d37a 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,19 @@ "motion-ui-update": "wget https://github.com/zurb/motion-ui/archive/master.zip -d ./libraries/motion-ui.zip && del ./libraries/motion-ui && extract-zip ./libraries/motion-ui.zip ./libraries/motion-ui/ && del ./libraries/motion-ui.zip && echo \"Copying Motion UI files one level up as they've moved...\" && ncp ./libraries/motion-ui/motion-ui-master/ ./libraries/motion-ui/ && del ./libraries/motion-ui/motion-ui-master/ && echo \"Latest version of Motion UI downloaded, you'll need to run 'npm run scss' to build\"", "message_finished": "echo \"All done\"" }, - "private": true, + "name": "EBI-Framework", + "description": "Homed here are the various assets that make the EBI Visual Framework (CSS, JS, and a few images and build scripts).", + "version": "v1.2.0-alpha.2", + "license": "UNLICENSED", + "repository": { + "type": "git", + "url": "https://github.com/ebiwd/EBI-Framework.git" + }, + "author": { + "name": "EBI Web Development", + "email": "khawkins@ebi.ac.uk", + "url": "https://github.com/ebiwd" + }, "devDependencies": { "concat-cli": "^4.0.0", "concatenate-files": "^0.1.1", -- GitLab