-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
82 lines (82 loc) · 2.46 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
{
"name": "@iden3/js-iden3-core",
"version": "1.4.1",
"description": "Low level API to create and manipulate iden3 Claims.",
"source": "./src/index.ts",
"types": "dist/types/index.d.ts",
"main": "dist/node/cjs/index.js",
"module": "dist/node/esm/index.js",
"exports": {
".": {
"node": {
"import": "./dist/node/esm/index.js",
"require": "./dist/node/cjs/index.js"
},
"browser": "./dist/browser/esm/index.js",
"umd": "./dist/browser/umd/index.js",
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"clean": "rimraf ./dist",
"build": "npm run clean && npm run build:node && npm run build:browser",
"build:node": "npm run build:tsc && npm run build:esm",
"build:esm": "tsc --outDir dist/node/esm --declaration --declarationDir dist/types",
"build:browser": "rollup -c config/rollup.config.mjs",
"build:tsc": "tsc --module commonjs --outDir dist/node/cjs",
"deps:check": "madge --warning --circular --extensions ts ./",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint --fix --fix --ext .ts src/** tests/**",
"lint:check": "eslint --ext .ts src/** tests/**",
"format": "prettier --config .prettierrc './**/*.ts' --write",
"format:check": "prettier --config .prettierrc './**/*.ts' --check"
},
"release": {
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/iden3/js-iden3-core.git"
},
"keywords": [
"iden3"
],
"author": "Iden3 Core team",
"license": "MIT or Apache-2.0",
"bugs": {
"url": "https://github.com/iden3/js-iden3-core/issues"
},
"homepage": "https://github.com/iden3/js-iden3-core#readme",
"devDependencies": {
"@iden3/eslint-config": "https://github.com/iden3/eslint-config",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.4",
"@types/jest": "^29.2.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"eslint-plugin-prettier": "^4.2.1",
"@cspell/eslint-plugin": "^8.14.2",
"jest": "^29.2.2",
"madge": "^6.1.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^3.29.4",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"peerDependencies": {
"@iden3/js-crypto": "1.1.0"
}
}