From 61bd5b3ea87abff6cdc3fd22513839178e7e8657 Mon Sep 17 00:00:00 2001 From: Oskar Niburski Date: Tue, 4 Dec 2018 23:56:05 -0800 Subject: [PATCH 1/2] feat(npm): Publish package --- .gitignore | 8 +++++++ LICENSE | 20 ++++++++++++++++ package.json | 33 +++++++++++++++++++++++++++ yarn-error.log | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ yarn.lock | 7 ++++++ 5 files changed, 130 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 package.json create mode 100644 yarn-error.log create mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22c9377 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# Dependency directory +node_modules + +# Source maps +*.js.map + +# Files marked with gitigx +*gitigx* diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..29b5e9c --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +(The MIT License) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/package.json b/package.json new file mode 100644 index 0000000..d9ddfcd --- /dev/null +++ b/package.json @@ -0,0 +1,33 @@ +{ + "name": "turn.js", + "version": "0.0.1", + "description": "A flip book JS library", + "license": "MIT", + "main": "turn.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/blasten/turn.js.git" + }, + "author": "Oskar Niburski (http://raksonibs.github.io)", + "license": "ISC", + "bugs": { + "url": "https://github.com/blasten/turn.js/issues" + }, + "homepage": "https://github.com/blasten/turn.js#readme", + "files": [ + "LICENSE", + "changelog", + "turn.js" + ], + "keywords": [ + "turn", + "book", + "flip" + ], + "dependencies": { + "jquery": "^1.7.0" + } +} diff --git a/yarn-error.log b/yarn-error.log new file mode 100644 index 0000000..22e98c1 --- /dev/null +++ b/yarn-error.log @@ -0,0 +1,62 @@ +Arguments: + /usr/local/bin/node /usr/local/bin/yarn + +PATH: + /Users/oskarniburski/.kiex/bin:/opt/local/bin:/opt/local/sbin:/Users/oskarniburski/go/bin:/Users/oskarniburski/anaconda/bin:/Users/oskarniburski/.rvm/gems/ruby-2.3.7/bin:/Users/oskarniburski/.rvm/gems/ruby-2.3.7@global/bin:/Users/oskarniburski/.rvm/rubies/ruby-2.3.7/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/usr/local/bin/:/Desktop/imgcat:/Users/oskarniburski/.rvm/bin:/Applications/microchip/xc32/v1.40/bin:/usr/local/sbin:/Users/oskarniburski/.rvm/bin:/Applications/microchip/xc32/v1.40/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/go/bin:/Applications/Postgres.app/Contents/Versions/latest/bin + +Yarn version: + 0.27.5 + +Node version: + 11.3.0 + +Platform: + darwin x64 + +npm manifest: + { + "name": "turn.js", + "version": "0.0.1", + "description": "A flip book JS library", + "license": "MIT", + "main": "turn.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/blasten/turn.js.git" + }, + "author": "Oskar Niburski (http://raksonibs.github.io)", + "license": "ISC", + "bugs": { + "url": "https://github.com/blasten/turn.js/issues" + }, + "homepage": "https://github.com/blasten/turn.js#readme", + "files": [ + "LICENSE", + "changelog", + "turn.js" + ], + "keywords": [ + "turn", + "book", + "flip" + ], + "dependencies": { + "jquery": "^1.7.0", + } + +yarn manifest: + No manifest + +Lockfile: + No lockfile + +Trace: + SyntaxError: /Users/oskarniburski/Desktop/kook/turn.js/package.json: Unexpected token } in JSON at position 705 + at JSON.parse () + at /usr/local/lib/node_modules/yarn/lib/util/fs.js:554:57 + at Generator.next () + at step (/usr/local/lib/node_modules/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30) + at /usr/local/lib/node_modules/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13 diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..004412d --- /dev/null +++ b/yarn.lock @@ -0,0 +1,7 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +jquery@^1.7.0: + version "1.12.4" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-1.12.4.tgz#01e1dfba290fe73deba77ceeacb0f9ba2fec9e0c" From 852fbc021dcd314f78b58db07351b4d2b5a58608 Mon Sep 17 00:00:00 2001 From: Oskar Niburski Date: Tue, 4 Dec 2018 23:56:56 -0800 Subject: [PATCH 2/2] remove(liscence): Update author --- LICENSE | 20 -------------------- package.json | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 LICENSE diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 29b5e9c..0000000 --- a/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -(The MIT License) - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/package.json b/package.json index d9ddfcd..552f3bc 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "type": "git", "url": "git+https://github.com/blasten/turn.js.git" }, - "author": "Oskar Niburski (http://raksonibs.github.io)", + "author": "Emmanuel Garcia", "license": "ISC", "bugs": { "url": "https://github.com/blasten/turn.js/issues"