forked from digitalbazaar/jsonld.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
125 lines (125 loc) · 4.23 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
{
"name": "jsonld",
"version": "1.6.3-0",
"description": "A JSON-LD Processor and API implementation in JavaScript.",
"homepage": "https://github.com/digitalbazaar/jsonld.js",
"author": {
"name": "Digital Bazaar, Inc.",
"email": "[email protected]",
"url": "https://digitalbazaar.com/"
},
"contributors": [
"Dave Longley <[email protected]>",
"David I. Lehn <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/digitalbazaar/jsonld.js"
},
"bugs": {
"url": "https://github.com/digitalbazaar/jsonld.js/issues",
"email": "[email protected]"
},
"license": "BSD-3-Clause",
"main": "lib/index.js",
"files": [
"dist/*.js",
"dist/*.js.map",
"dist/node6/**/*.js",
"lib/*.js",
"lib/**/*.js"
],
"dependencies": {
"rdf-canonize": "^1.0.2",
"request": "^2.88.0",
"semver": "^5.6.0",
"xmldom": "0.1.19"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.3.1",
"babel-loader": "^8.0.5",
"benchmark": "^2.1.4",
"browserify": "^16.2.3",
"chai": "^4.2.0",
"commander": "^2.19.0",
"core-js": "^2.6.5",
"cors": "^2.7.1",
"cross-env": "^5.2.0",
"eslint": "^5.14.1",
"eslint-config-digitalbazaar": "^1.6.0",
"express": "^4.16.4",
"fs-extra": "^7.0.0",
"join-path-js": "0.0.0",
"karma": "^3.1.1",
"karma-babel-preprocessor": "^8.0.0",
"karma-browserify": "^6.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-edge-launcher": "^0.4.2",
"karma-firefox-launcher": "^1.1.0",
"karma-ie-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-safari-launcher": "^1.0.0",
"karma-server-side": "^1.7.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-tap-reporter": "0.0.6",
"karma-webpack": "^3.0.5",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^13.3.0",
"webpack": "^4.29.5",
"webpack-cli": "^3.2.3",
"webpack-merge": "^4.2.1"
},
"engines": {
"node": ">=6"
},
"keywords": [
"JSON",
"Linked Data",
"JSON-LD",
"RDF",
"Semantic Web",
"jsonld"
],
"scripts": {
"prepublish": "npm run build",
"build": "npm run build-webpack && npm run build-node6",
"build-webpack": "webpack",
"build-node6": "BROWSERSLIST='node 6' babel --no-babelrc lib --out-dir dist/node6/lib --presets=@babel/preset-env",
"fetch-test-suites": "npm run fetch-json-ld-wg-test-suite && npm run fetch-json-ld-org-test-suite && npm run fetch-normalization-test-suite",
"fetch-json-ld-wg-test-suite": "npm run fetch-json-ld-api-test-suite && npm run fetch-json-ld-framing-test-suite",
"fetch-json-ld-api-test-suite": "if [ ! -e test-suites/json-wg-api ]; then git clone --depth 1 https://github.com/w3c/json-ld-api.git test-suites/json-ld-api; fi",
"fetch-json-ld-framing-test-suite": "if [ ! -e test-suites/json-wg-framing ]; then git clone --depth 1 https://github.com/w3c/json-ld-framing.git test-suites/json-ld-framing; fi",
"fetch-json-ld-org-test-suite": "if [ ! -e test-suites/json-ld.org ]; then git clone --depth 1 https://github.com/json-ld/json-ld.org.git test-suites/json-ld.org; fi",
"fetch-normalization-test-suite": "if [ ! -e test-suites/normalization ]; then git clone --depth 1 https://github.com/json-ld/normalization.git test-suites/normalization; fi",
"test": "cross-env NODE_ENV=test mocha --delay -t 30000 -A -R ${REPORTER:-spec} tests/test.js",
"test-karma": "cross-env NODE_ENV=test karma start",
"coverage": "nyc --reporter=lcov --reporter=text-summary npm test",
"coverage-report": "nyc report",
"lint": "eslint *.js lib/**.js tests/**.js"
},
"nyc": {
"exclude": [
"lib/documentLoaders/xhr.js",
"tests"
]
},
"browser": {
"lib/index.js": "./lib/jsonld.js",
"crypto": false,
"http": false,
"jsonld-request": false,
"request": false,
"url": false,
"util": false,
"xmldom": false
}
}