File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed
Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 11coverage /
22demo /
33lib /
4+ es /
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ node_modules
22npm-debug.log *
33coverage
44lib /
5+ es /
Original file line number Diff line number Diff line change 1- # js-idm-wallet
2- The reference implementation of the IDM Wallet in JavaScript
1+ # idm-wallet
2+
3+ The reference implementation of the IDM Wallet in JavaScript.
Original file line number Diff line number Diff line change 11{
2- "name" : " js- idm-wallet" ,
2+ "name" : " idm-wallet" ,
33 "version" : " 0.0.0" ,
44 "description" : " The reference implementation of the IDM Wallet in JavaScript" ,
5- "main" : " index.js" ,
5+ "main" : " lib/index.js" ,
6+ "module" : " es/index.js" ,
67 "homepage" : " https://github.com/ipfs-shipyard/js-idm-wallet#readme" ,
78 "license" : " MIT" ,
89 "repository" : {
2021 "url" : " https://github.com/ipfs-shipyard/js-idm-wallet/issues"
2122 },
2223 "files" : [
23- " lib"
24+ " lib" ,
25+ " es"
2426 ],
2527 "scripts" : {
28+ "build:commonjs" : " BABEL_ENV=commonjs babel src -d lib" ,
29+ "build:es" : " BABEL_ENV=es babel src -d es" ,
30+ "build" : " npm run build:commonjs && npm run build:es" ,
2631 "test" : " jest" ,
27- "build" : " babel src --out-dir lib --ignore '**/*.test.js'" ,
28- "lint" : " eslint --ignore-path .gitignore ." ,
29- "prerelease" : " npm t && npm run lint" ,
32+ "lint" : " eslint ." ,
33+ "prerelease" : " npm t && npm run lint && npm run build" ,
3034 "release" : " standard-version"
3135 },
3236 "husky" : {
5357 },
5458 "jest" : {
5559 "collectCoverage" : true ,
56- "collectCoverageFrom" : [
57- " ./src/**/*.js"
58- ],
59- "testRegex" : " (/__tests__/.test.*|(\\ .|/)(test|spec))\\ .[jt]sx?$" ,
60+ "testRegex" : " /__tests__/.*\\ .test\\ .js$" ,
6061 "testPathIgnorePatterns" : [
6162 " /demo/" ,
6263 " /lib/" ,
You can’t perform that action at this time.
0 commit comments