-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 7.43 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"_args": [
[
{
"raw": "spdx-expression-parse@~1.0.0",
"scope": null,
"escapedName": "spdx-expression-parse",
"name": "spdx-expression-parse",
"rawSpec": "~1.0.0",
"spec": ">=1.0.0 <1.1.0",
"type": "range"
},
"/Users/benjamincoe/bcoe/nyc/node_modules/validate-npm-package-license"
],
[
{
"raw": "spdx-expression-parse@1.0.4",
"scope": null,
"escapedName": "spdx-expression-parse",
"name": "spdx-expression-parse",
"rawSpec": "1.0.4",
"spec": "1.0.4",
"type": "version"
},
"/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin"
]
],
"_from": "spdx-expression-parse@>=1.0.0 <1.1.0",
"_id": "spdx-expression-parse@1.0.4",
"_inCache": true,
"_location": "/firebase-admin/nyc/spdx-expression-parse",
"_nodeVersion": "4.6.0",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/spdx-expression-parse-1.0.4.tgz_1475698361593_0.7478717286139727"
},
"_npmUser": {
"name": "kemitchell",
"email": "kyle@kemitchell.com"
},
"_npmVersion": "3.10.8",
"_phantomChildren": {},
"_requested": {
"raw": "spdx-expression-parse@1.0.4",
"scope": null,
"escapedName": "spdx-expression-parse",
"name": "spdx-expression-parse",
"rawSpec": "1.0.4",
"spec": "1.0.4",
"type": "version"
},
"_requiredBy": [
"/firebase-admin/nyc",
"/firebase-admin/nyc/validate-npm-package-license"
],
"_resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz",
"_shasum": "9bdf2f20e1f40ed447fbe273266191fced51626c",
"_shrinkwrap": null,
"_spec": "spdx-expression-parse@1.0.4",
"_where": "/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin",
"author": {
"name": "Kyle E. Mitchell",
"email": "kyle@kemitchell.com",
"url": "http://kemitchell.com"
},
"bugs": {
"url": "https://github.com/kemitchell/spdx-expression-parse.js/issues"
},
"contributors": [
{
"name": "C. Scott Ananian",
"email": "cscott@cscott.net",
"url": "http://cscott.net"
},
{
"name": "Kyle E. Mitchell",
"email": "kyle@kemitchell.com",
"url": "https://kemitchell.com"
},
{
"name": "Shinnosuke Watanabe",
"email": "snnskwtnb@gmail.com"
}
],
"dependencies": {},
"description": "parse SPDX license expressions",
"devDependencies": {
"defence-cli": "^1.0.1",
"jison": "^0.4.15",
"replace-require-self": "^1.0.0",
"spdx-exceptions": "^1.0.4",
"spdx-license-ids": "^1.0.0",
"standard": "^8.0.0"
},
"directories": {},
"dist": {
"shasum": "9bdf2f20e1f40ed447fbe273266191fced51626c",
"tarball": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz"
},
"files": [
"AUTHORS",
"index.js",
"parser.js"
],
"gitHead": "326b222ed9e89e9ef472656e9970649b9ee4e8f3",
"homepage": "https://github.com/kemitchell/spdx-expression-parse.js#readme",
"keywords": [
"SPDX",
"law",
"legal",
"license",
"metadata",
"package",
"package.json",
"standards"
],
"license": "(MIT AND CC-BY-3.0)",
"maintainers": [
{
"name": "kemitchell",
"email": "kyle@kemitchell.com"
}
],
"name": "spdx-expression-parse",
"optionalDependencies": {},
"readme": "This package parses SPDX license expression strings describing license terms, like [package.json license strings](https://docs.npmjs.com/files/package.json#license), into consistently structured ECMAScript objects. The npm command-line interface depends on this package, as do many automatic license-audit tools.\n\nIn a nutshell:\n\n```javascript\nvar parse = require('spdx-expression-parse')\nvar assert = require('assert')\n\nassert.deepEqual(\n // Licensed under the terms of the Two-Clause BSD License.\n parse('BSD-2-Clause'),\n {license: 'BSD-2-Clause'}\n)\n\nassert.throws(function () {\n // An invalid SPDX license expression.\n // Should be `Apache-2.0`.\n parse('Apache 2')\n})\n\nassert.deepEqual(\n // Dual licensed under LGPL 2.1 or a combination of the Three-Clause\n // BSD License and the MIT License.\n parse('(LGPL-2.1 OR BSD-3-Clause AND MIT)'),\n {\n left: {license: 'LGPL-2.1'},\n conjunction: 'or',\n right: {\n left: {license: 'BSD-3-Clause'},\n conjunction: 'and',\n right: {license: 'MIT'}\n }\n }\n)\n```\n\nThe syntax comes from the [Software Package Data eXchange (SPDX)](https://spdx.org/), a standard from the [Linux Foundation](https://www.linuxfoundation.org) for shareable data about software package license terms. SPDX aims to make sharing and auditing license data easy, especially for users of open-source software.\n\nThe bulk of the SPDX standard describes syntax and semantics of XML metadata files. This package implements two lightweight, plain-text components of that larger standard:\n\n1. The [license list](https://spdx.org/licenses), a mapping from specific string identifiers, like `Apache-2.0`, to standard form license texts and bolt-on license exceptions. The [spdx-license-ids](https://www.npmjs.com/package/spdx-exceptions) and [spdx-exceptions](https://www.npmjs.com/package/spdx-license-ids) packages implement the license list. They are development dependencies of this package.\n\n Any license identifier from the license list is a valid license expression:\n\n ```javascript\n require('spdx-license-ids').forEach(function (id) {\n assert.deepEqual(parse(id), {license: id})\n })\n ```\n\n So is any license identifier `WITH` a standardized license exception:\n\n ```javascript\n require('spdx-license-ids').forEach(function (id) {\n require('spdx-exceptions').forEach(function (e) {\n assert.deepEqual(\n parse(id + ' WITH ' + e),\n {license: id, exception: e}\n )\n })\n })\n ```\n\n2. The license expression language, for describing simple and complex license terms, like `MIT` for MIT-licensed and `(GPL-2.0 OR Apache-2.0)` for dual-licensing under GPL 2.0 and Apache 2.0. This package implements the license expression language.\n\n ```javascript\n assert.deepEqual(\n // Licensed under a combination of the MIT License and a combination\n // of LGPL 2.1 (or a later version) and the Three-Clause BSD License.\n parse('(MIT AND (LGPL-2.1+ AND BSD-3-Clause))'),\n {\n left: {license: 'MIT'},\n conjunction: 'and',\n right: {\n left: {license: 'LGPL-2.1', plus: true},\n conjunction: 'and',\n right: {license: 'BSD-3-Clause'}\n }\n }\n )\n ```\n\nThe Linux Foundation and its contributors license the SPDX standard under the terms of [the Creative Commons Attribution License 3.0 Unported (SPDX: \"CC-BY-3.0\")](http://spdx.org/licenses/CC-BY-3.0). \"SPDX\" is a United States federally registered trademark of the Linux Foundation. The authors of this package license their work under the terms of the MIT License.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/kemitchell/spdx-expression-parse.js.git"
},
"scripts": {
"lint": "standard",
"prepublish": "node generate-parser.js > parser.js",
"pretest": "npm run prepublish",
"test": "defence -i javascript README.md | replace-require-self | node"
},
"version": "1.0.4"
}