-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
112 lines (112 loc) · 4.28 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
{
"name": "@identity.com/dsr",
"version": "3.0.2",
"description": "The Dynamic Scope Request (DSR) javascript library provides capability around securely requesting credential information between an ID Requester and an ID Holder",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"browser": "dist/browser/index.js",
"scripts": {
"lint": "eslint ./src/**.js",
"test": "cross-env NODE_ENV=test jest",
"test:watch": "jest --watch",
"check-schemas": "cross-env NODE_ENV=false jest --no-coverage test/integration/schemas/",
"publish-schemas": "node scripts/publishSchemas.js && aws s3 cp ./schemas/public/ $S3_BUCKET_SCHEMA_URL --recursive --acl public-read",
"build:cjs": "BABEL_ENV=cjs babel src -d dist/cjs",
"build:es": "babel src -d dist/es --no-babelrc",
"build:browser:before": "BABEL_ENV=browser babel src -d dist/prebrowser",
"build:browser:after": "minify dist/prebrowser -d dist/browser",
"build:browser:clean": "rimraf dist/prebrowser",
"build:browser": "npm run build:browser:before && npm run build:browser:after && npm run build:browser:clean",
"build": "npm run build:browser && npm run build:cjs && npm run build:es",
"postversion": "git add --all && git commit -m\"build and version $npm_package_version\" -m\"[skip ci]\" && git push",
"pretag": "git fetch --tags",
"tag": "git tag v$npm_package_version && git push origin --tags",
"release:create": "hub release create -m v$npm_package_version v$npm_package_version",
"check": "npm run lint && npm run test"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.17.7",
"ajv": "^6.5.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-jest": "^27.2.4",
"babel-minify": "^0.5.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"cross-env": "^5.2.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-no-only-tests": "^2.0.1",
"eslint-plugin-react": "^7.10.0",
"jest": "^27.2.4",
"jest-stare": "^2.3.0",
"node-fetch": "^2.6.1",
"request-debug": "^0.2.0",
"rimraf": "^2.6.2"
},
"dependencies": {
"@identity.com/credential-commons": "^3.0.1",
"bottlejs": "^1.7.1",
"dotenv": "^8.2.0",
"json-stable-stringify": "^1.0.1",
"lodash": "^4.17.21",
"mkdirp": "^0.5.1",
"sift": "^13.5.0",
"sjcl": "github:civicteam/sjcl#v1.0.8-ecc",
"type-of-is": "^3.5.1",
"winston": "^3.2.0"
},
"jest": {
"testURL": "http://localhost/",
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
],
"collectCoverageFrom": [
"**/src/**/*.{js}",
"!**/node_modules/**",
"!**/build/**",
"!**/vendor/**"
],
"coverageThreshold": {
"global": {
"branches": 85,
"functions": 85,
"lines": 85,
"statements": 85
}
},
"coverageDirectory": "reports/coverage",
"collectCoverage": true,
"testResultsProcessor": "./node_modules/jest-stare",
"verbose": true,
"transformIgnorePatterns": [
"/node_modules/(?!(@digitalbazaar/did-io|@digitalbazaar/lru-memoize|@digitalbazaar/ed25519-verification-key-2018|@digitalbazaar/did-io|base58-universal))",
"node_modules/(?!(@digitalbazaar/did-io|@digitalbazaar/lru-memoize|@digitalbazaar/ed25519-verification-key-2018|@digitalbazaar/did-io|base58-universal))",
"<rootDir>/node_modules/(?!(@digitalbazaar/did-io|@digitalbazaar/lru-memoize|@digitalbazaar/ed25519-verification-key-2018|@digitalbazaar/did-io|base58-universal))"
],
"moduleNameMapper": {
"@digitalbazaar/did-io": "@digitalbazaar/did-io/lib/main.js",
"@digitalbazaar/lru-memoize": "@digitalbazaar/lru-memoize/lib/main.js",
"@digitalbazaar/ed25519-verification-key-2018": "@digitalbazaar/ed25519-verification-key-2018/src/main.js",
"base58-universal": "base58-universal/main.js"
},
"transform": {
"^.+\\.(js|jsx)$": "babel-jest"
}
},
"jest-stare": {
"resultDir": "reports",
"resultHtml": "index.html"
},
"keywords": [
"DynamicScopeRequest",
"DSR",
"Resolver"
],
"author": "Identity.com",
"license": "MIT"
}