generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearranged package.json to have it more readable (#413)
- Loading branch information
1 parent
bb57d77
commit c140525
Showing
2 changed files
with
52 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,33 @@ | |
"name": "@tbd54566975/dwn-sdk-js", | ||
"version": "0.0.35", | ||
"description": "A reference implementation of https://identity.foundation/decentralized-web-node/spec/", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/TBD54566975/dwn-sdk-js.git" | ||
}, | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/TBD54566975/dwn-sdk-js#readme", | ||
"bugs": { | ||
"url": "https://github.com/TBD54566975/dwn-sdk-js/issues" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Daniel Buchner", | ||
"url": "https://github.com/csuwildcat" | ||
}, | ||
{ | ||
"name": "Diane Huxley", | ||
"url": "https://github.com/diehuxx" | ||
}, | ||
{ | ||
"name": "Henry Tsai", | ||
"url": "https://github.com/thehenrytsai" | ||
}, | ||
{ | ||
"name": "Moe Jangda", | ||
"url": "https://github.com/mistermoe" | ||
} | ||
], | ||
"type": "module", | ||
"types": "./dist/types/src/index.d.ts", | ||
"engines": { | ||
|
@@ -33,24 +60,6 @@ | |
"./dist/esm/src/index.js": "./dist/esm/src/index.js", | ||
"./dist/cjs/src/index.js": "./dist/esm/src/index.js" | ||
}, | ||
"scripts": { | ||
"build:esm": "tsc", | ||
"build:cjs": "tsc --project tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json", | ||
"build": "npm run clean && npm run compile-validators && npm run build:esm && npm run build:cjs && npm run bundle", | ||
"bundle": "node ./build/create-browser-bundle.cjs", | ||
"clean": "rimraf dist && rimraf generated/*", | ||
"compile-validators": "node ./build/compile-validators.js", | ||
"lint": "eslint . --ext .ts --max-warnings 0", | ||
"lint:fix": "eslint . --ext .ts --fix", | ||
"make-coverage-badges": "istanbul-badges-readme", | ||
"make-coverage-badges:ci": "npm run make-coverage-badges -- --ci", | ||
"test:node": "npm run compile-validators && tsc && c8 mocha \"dist/esm/tests/**/*.spec.js\" && npm run make-coverage-badges", | ||
"test:node:ci": "npm run compile-validators && tsc && c8 mocha \"dist/esm/tests/**/*.spec.js\"", | ||
"test:browser": "npm run compile-validators && cross-env karma start karma.conf.cjs", | ||
"test:browser-debug": "npm run compile-validators && cross-env karma start karma.conf.debug.cjs", | ||
"license-check": "license-report --only=prod > license-report.json && node ./build/license-check.cjs", | ||
"publish:unstable": "./build/publish-unstable.sh" | ||
}, | ||
"dependencies": { | ||
"@ipld/dag-cbor": "9.0.1", | ||
"@js-temporal/polyfill": "0.4.4", | ||
|
@@ -79,13 +88,6 @@ | |
"uuid": "8.3.2", | ||
"varint": "6.0.0" | ||
}, | ||
"overrides": { | ||
"c8": { | ||
"istanbul-lib-report": { | ||
"make-dir": "^4.0.0" | ||
} | ||
} | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "4.3.0", | ||
"@types/chai-as-promised": "7.1.5", | ||
|
@@ -134,21 +136,29 @@ | |
"typescript": "4.8.2", | ||
"util": "0.12.4" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/TBD54566975/dwn-sdk-js.git" | ||
}, | ||
"author": "Moe Jangda <[email protected]> (https://twitter.com/moe_jangda)", | ||
"contributors": [ | ||
{ | ||
"name": "Daniel Buchner", | ||
"email": "[email protected]", | ||
"url": "https://twitter.com/csuwildcat" | ||
"overrides": { | ||
"c8": { | ||
"istanbul-lib-report": { | ||
"make-dir": "^4.0.0" | ||
} | ||
} | ||
], | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/TBD54566975/dwn-sdk-js/issues" | ||
}, | ||
"homepage": "https://github.com/TBD54566975/dwn-sdk-js#readme" | ||
} | ||
"scripts": { | ||
"build:esm": "tsc", | ||
"build:cjs": "tsc --project tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json", | ||
"build": "npm run clean && npm run compile-validators && npm run build:esm && npm run build:cjs && npm run bundle", | ||
"bundle": "node ./build/create-browser-bundle.cjs", | ||
"clean": "rimraf dist && rimraf generated/*", | ||
"compile-validators": "node ./build/compile-validators.js", | ||
"lint": "eslint . --ext .ts --max-warnings 0", | ||
"lint:fix": "eslint . --ext .ts --fix", | ||
"make-coverage-badges": "istanbul-badges-readme", | ||
"make-coverage-badges:ci": "npm run make-coverage-badges -- --ci", | ||
"test:node": "npm run compile-validators && tsc && c8 mocha \"dist/esm/tests/**/*.spec.js\" && npm run make-coverage-badges", | ||
"test:node:ci": "npm run compile-validators && tsc && c8 mocha \"dist/esm/tests/**/*.spec.js\"", | ||
"test:browser": "npm run compile-validators && cross-env karma start karma.conf.cjs", | ||
"test:browser-debug": "npm run compile-validators && cross-env karma start karma.conf.debug.cjs", | ||
"license-check": "license-report --only=prod > license-report.json && node ./build/license-check.cjs", | ||
"publish:unstable": "./build/publish-unstable.sh" | ||
} | ||
} |