update package.json and license

This commit is contained in:
Chris Whong 2017-03-04 11:47:11 -05:00
parent 49435ae4fb
commit 3d9059ba19
3 changed files with 33 additions and 153 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2017 NYC Department of City Planning
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.

View File

@ -1,153 +0,0 @@
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/7.5.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'publish',
1 verbose cli 'geojson2mvt' ]
2 info using npm@4.1.2
3 info using node@v7.5.0
4 verbose publish [ 'geojson2mvt' ]
5 silly cache add args [ 'geojson2mvt', null ]
6 verbose cache add spec geojson2mvt
7 silly cache add parsed spec Result {
7 silly cache add raw: 'geojson2mvt',
7 silly cache add scope: null,
7 silly cache add escapedName: 'geojson2mvt',
7 silly cache add name: 'geojson2mvt',
7 silly cache add rawSpec: '',
7 silly cache add spec: 'latest',
7 silly cache add type: 'tag' }
8 silly addNamed geojson2mvt@latest
9 verbose addNamed "latest" is being treated as a dist-tag for geojson2mvt
10 info addNameTag [ 'geojson2mvt', 'latest' ]
11 silly mapToRegistry name geojson2mvt
12 silly mapToRegistry using default registry
13 silly mapToRegistry registry https://registry.npmjs.org/
14 silly mapToRegistry data Result {
14 silly mapToRegistry raw: 'geojson2mvt',
14 silly mapToRegistry scope: null,
14 silly mapToRegistry escapedName: 'geojson2mvt',
14 silly mapToRegistry name: 'geojson2mvt',
14 silly mapToRegistry rawSpec: '',
14 silly mapToRegistry spec: 'latest',
14 silly mapToRegistry type: 'tag' }
15 silly mapToRegistry uri https://registry.npmjs.org/geojson2mvt
16 verbose addNameTag registry:https://registry.npmjs.org/geojson2mvt not in flight; fetching
17 verbose request uri https://registry.npmjs.org/geojson2mvt
18 verbose request no auth needed
19 info attempt registry request try #1 at 11:36:06 AM
20 verbose request using bearer token for auth
21 verbose request id d08f23ced3a68e65
22 http request GET https://registry.npmjs.org/geojson2mvt
23 http 200 https://registry.npmjs.org/geojson2mvt
24 verbose headers { server: 'nginx/1.10.1',
24 verbose headers 'content-type': 'application/json',
24 verbose headers 'last-modified': 'Sat, 04 Mar 2017 16:34:57 GMT',
24 verbose headers etag: 'W/"58baecb1-4a0"',
24 verbose headers 'content-encoding': 'gzip',
24 verbose headers 'cache-control': 'max-age=300',
24 verbose headers 'transfer-encoding': 'chunked',
24 verbose headers 'accept-ranges': 'bytes',
24 verbose headers date: 'Sat, 04 Mar 2017 16:36:06 GMT',
24 verbose headers via: '1.1 varnish',
24 verbose headers connection: 'keep-alive',
24 verbose headers 'x-served-by': 'cache-dfw1836-DFW',
24 verbose headers 'x-cache': 'MISS',
24 verbose headers 'x-cache-hits': '0',
24 verbose headers 'x-timer': 'S1488645366.318982,VS0,VE32',
24 verbose headers vary: 'Accept-Encoding' }
25 silly get cb [ 200,
25 silly get { server: 'nginx/1.10.1',
25 silly get 'content-type': 'application/json',
25 silly get 'last-modified': 'Sat, 04 Mar 2017 16:34:57 GMT',
25 silly get etag: 'W/"58baecb1-4a0"',
25 silly get 'content-encoding': 'gzip',
25 silly get 'cache-control': 'max-age=300',
25 silly get 'transfer-encoding': 'chunked',
25 silly get 'accept-ranges': 'bytes',
25 silly get date: 'Sat, 04 Mar 2017 16:36:06 GMT',
25 silly get via: '1.1 varnish',
25 silly get connection: 'keep-alive',
25 silly get 'x-served-by': 'cache-dfw1836-DFW',
25 silly get 'x-cache': 'MISS',
25 silly get 'x-cache-hits': '0',
25 silly get 'x-timer': 'S1488645366.318982,VS0,VE32',
25 silly get vary: 'Accept-Encoding' } ]
26 verbose get saving geojson2mvt to /Users/chriswhong/.npm/registry.npmjs.org/geojson2mvt/.cache.json
27 verbose correctMkdir /Users/chriswhong/.npm correctMkdir not in flight; initializing
28 silly addNameTag next cb for geojson2mvt with tag latest
29 silly addNamed geojson2mvt@1.0.0
30 verbose addNamed "1.0.0" is a plain semver version for geojson2mvt
31 silly cache afterAdd geojson2mvt@1.0.0
32 verbose afterAdd /Users/chriswhong/.npm/geojson2mvt/1.0.0/package/package.json not in flight; writing
33 verbose correctMkdir /Users/chriswhong/.npm correctMkdir not in flight; initializing
34 verbose afterAdd /Users/chriswhong/.npm/geojson2mvt/1.0.0/package/package.json written
35 silly publish { name: 'geojson2mvt',
35 silly publish version: '1.0.0',
35 silly publish main: 'index.js',
35 silly publish scripts: { test: 'echo "Error: no test specified" && exit 1' },
35 silly publish author: '',
35 silly publish license: 'ISC',
35 silly publish dependencies: { 'geojson-vt': '^2.4.0' },
35 silly publish readme: 'ERROR: No README data found!',
35 silly publish readmeFilename: 'README.md',
35 silly publish _id: 'geojson2mvt@1.0.0',
35 silly publish _shasum: '3096104c6a5592b995156bba6f294f2920b1893e',
35 silly publish _from: 'geojson2mvt@latest' }
36 verbose getPublishConfig undefined
37 silly mapToRegistry name geojson2mvt
38 silly mapToRegistry using default registry
39 silly mapToRegistry registry https://registry.npmjs.org/
40 silly mapToRegistry data Result {
40 silly mapToRegistry raw: 'geojson2mvt',
40 silly mapToRegistry scope: null,
40 silly mapToRegistry escapedName: 'geojson2mvt',
40 silly mapToRegistry name: 'geojson2mvt',
40 silly mapToRegistry rawSpec: '',
40 silly mapToRegistry spec: 'latest',
40 silly mapToRegistry type: 'tag' }
41 silly mapToRegistry uri https://registry.npmjs.org/geojson2mvt
42 verbose publish registryBase https://registry.npmjs.org/
43 silly publish uploading /Users/chriswhong/.npm/geojson2mvt/1.0.0/package.tgz
44 verbose request uri https://registry.npmjs.org/geojson2mvt
45 verbose request sending authorization for write operation
46 info attempt registry request try #1 at 11:36:06 AM
47 verbose request using bearer token for auth
48 http request PUT https://registry.npmjs.org/geojson2mvt
49 http 403 https://registry.npmjs.org/geojson2mvt
50 verbose headers { 'content-type': 'application/json',
50 verbose headers 'cache-control': 'max-age=300',
50 verbose headers 'content-length': '95',
50 verbose headers 'accept-ranges': 'bytes',
50 verbose headers date: 'Sat, 04 Mar 2017 16:36:21 GMT',
50 verbose headers via: '1.1 varnish',
50 verbose headers connection: 'keep-alive',
50 verbose headers 'x-served-by': 'cache-dfw1836-DFW',
50 verbose headers 'x-cache': 'MISS',
50 verbose headers 'x-cache-hits': '0',
50 verbose headers 'x-timer': 'S1488645366.649672,VS0,VE14372',
50 verbose headers vary: 'Accept-Encoding' }
51 verbose request invalidating /Users/chriswhong/.npm/registry.npmjs.org/geojson2mvt on PUT
52 error publish Failed PUT 403
53 verbose stack Error: "You cannot publish over the previously published version 1.0.0." : geojson2mvt
53 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:12)
53 verbose stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:292:14)
53 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:212:14)
53 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:186:22)
53 verbose stack at emitTwo (events.js:106:13)
53 verbose stack at Request.emit (events.js:192:7)
53 verbose stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1081:10)
53 verbose stack at emitOne (events.js:96:13)
53 verbose stack at Request.emit (events.js:189:7)
53 verbose stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1001:12)
54 verbose statusCode 403
55 verbose pkgid geojson2mvt
56 verbose cwd /Users/chriswhong/Sites/geojson2mvt
57 error Darwin 15.6.0
58 error argv "/usr/local/Cellar/node/7.5.0/bin/node" "/usr/local/bin/npm" "publish" "geojson2mvt"
59 error node v7.5.0
60 error npm v4.1.2
61 error code E403
62 error "You cannot publish over the previously published version 1.0.0." : geojson2mvt
63 error If you need help, you may report this error at:
63 error <https://github.com/npm/npm/issues>
64 verbose exit [ 1, true ]

View File

@ -2,7 +2,19 @@
"name": "geojson2mvt",
"version": "0.0.1",
"description": "",
"keywords": [
"mapboxgl",
"vector tiles",
"web mapping",
"web maps",
"geojson"
],
"main": "src/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/NYCPlanning/geojson2mvt.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},