mirror of
https://github.com/iden3/js-iden3-core.git
synced 2026-01-10 06:18:02 -05:00
78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "@iden3/js-iden3-core",
|
|
"version": "1.0.3",
|
|
"description": "Low level API to create and manipulate iden3 Claims.",
|
|
"source": "./src/index.ts",
|
|
"typings": "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"
|
|
}
|
|
},
|
|
"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 --ext .ts src/** tests/**",
|
|
"format": "prettier --config .prettierrc './**/*.ts' --write"
|
|
},
|
|
"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": "AGPL-3.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.41.0",
|
|
"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.0.2"
|
|
}
|
|
}
|