-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
139 lines (139 loc) · 4.63 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
{
"name": "@identity.com/credential-commons",
"version": "3.0.2",
"author": "Identity.com Community",
"license": "MIT",
"description": "Verifiable Credential and Attestation Library",
"keywords": [
"credentials",
"anchor",
"attestation"
],
"repository": {
"type": "git",
"url": "git+https://github.com/identity-com/credential-commons-js.git"
},
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"browser": "dist/browser/index.js",
"scripts": {
"lint": "eslint . --max-warnings=0",
"lint:fix": "npm run lint -- --fix",
"test": "cross-env NODE_ENV=test jest",
"test:watch": "jest --watch",
"check": "npm run lint && npm run test",
"generate-civic-config": "cross-env NODE_ENV=test node scripts/configuration.js",
"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",
"pretag": "git fetch --tags",
"tag": "git tag v$npm_package_version && git push --tags origin master",
"precommit": "npm run lint",
"release:create": "hub release create -m v$npm_package_version v$npm_package_version",
"audit-ci": "audit-ci --config audit-ci.json"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"audit-ci": "^3.2.0",
"babel-jest": "^27.0.6",
"babel-minify": "^0.5.1",
"clear": "^0.1.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-react": "^7.23.2",
"figlet": "^1.5.0",
"husky": "^1.1.2",
"inquirer": "^7.3.3",
"jest": "^25.5.4",
"jest-html-reporter": "^2.3.0",
"npm": "^6.14.13",
"request-debug": "^0.2.0",
"rimraf": "^2.6.2",
"shelljs": "^0.8.4"
},
"dependencies": {
"@digitalbazaar/did-io": "^1.1.0",
"@identity.com/did-io-driver-sol": "^1.0.0-beta.0",
"@identity.com/uca": "github:identity-com/uca#v1.0.30",
"ajv": "^7.2.4",
"ajv-formats": "^1.6.1",
"babel-runtime": "^6.26.0",
"bitcoinjs-lib": "https://github.com/dabura667/bitcoinjs-lib.git#bcash330",
"bottlejs": "^1.7.1",
"bs58": "^4.0.1",
"dotenv": "^8.6.0",
"flat": "^4.1.0",
"json-schema-traverse": "^1.0.0",
"lodash": "^4.17.21",
"merkle-tools": "^1.4.1",
"moment-mini": "^2.24.0",
"randexp": "^0.5.3",
"randomstring": "^1.2.1",
"request": "^2.88.2",
"request-promise-native": "^1.0.9",
"sift": "^13.5.4",
"sjcl": "github:civicteam/sjcl#v1.0.8-ecc",
"tweetnacl": "^1.0.3",
"type-of-is": "^3.5.1",
"unix-timestamp": "^0.2.0",
"uuid": "^3.3.2",
"valid-url": "^1.0.9"
},
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
],
"collectCoverageFrom": [
"**/src/**/*.{js}",
"!**/node_modules/**",
"!**/build/**",
"!**/vendor/**",
"!src/services/DummyAnchorServiceImpl.js",
"!src/services/anchorService.js"
],
"coverageThreshold": {
"global": {
"branches": 85,
"functions": 85,
"lines": 85,
"statements": 85
}
},
"coverageDirectory": "reports/coverage",
"collectCoverage": true,
"testResultsProcessor": "./node_modules/jest-html-reporter",
"verbose": true,
"transformIgnorePatterns": [
"/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"
}
},
"jest-html-reporter": {
"pageTitle": "Verifiable Credential and Attestation Library Test Suite",
"outputPath": "reports/test-report.html",
"includeFailureMsg": true
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}