generated from digitalbazaar/context-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
66 lines (66 loc) · 2.04 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
{
"name": "@digitalbazaar/zcap-context",
"version": "2.0.2-0",
"description": "Authorization Capability (ZCAP) JSON-LD context for JavaScript.",
"main": "js/index.js",
"module": "./dist/context.esm.js",
"files": [
"contexts",
"dist/context.esm.js",
"dist/context.js",
"js"
],
"repository": {
"type": "git",
"url": "https://github.com/digitalbazaar/zcap-context"
},
"bugs": {
"url": "https://github.com/digitalbazaar/zcap-context/issues"
},
"author": {
"name": "Digital Bazaar, Inc.",
"email": "[email protected]",
"url": "https://digitalbazaar.com/"
},
"homepage": "https://github.com/digitalbazaar/zcap-context#readme",
"license": "BSD-3-Clause",
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/runtime": "^7.26.0",
"babel-loader": "^9.2.1",
"chai": "^4.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-config-digitalbazaar": "^5.2.0",
"json-loader": "^0.5.7",
"karma": "^6.4.4",
"karma-babel-preprocessor": "^8.0.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "^5.0.1",
"mocha": "^10.8.2",
"rollup": "^4.26.0",
"rollup-plugin-commonjs": "^10.1.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">=18"
},
"scripts": {
"build": "npm run clean && npm run serialize && webpack && rollup -c",
"clean": "rm -rf dist/* && rm -rf contexts/*.jsonld",
"lint": "eslint --ext .cjs,.js .",
"prepare": "npm run build",
"serialize": "node bin/serialize.js",
"test": "npm run lint && npm run build && npm run test-node && npm run test-karma",
"test-karma": "karma start test/karma.conf.js",
"test-node": "cross-env NODE_ENV=test mocha --preserve-symlinks test/*.spec.js"
}
}