@massalabs/wallet-provider 1.3.6-dev.20230906191742 → 1.3.6-dev.20230911180149

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +17 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massalabs/wallet-provider",
3
- "version": "1.3.6-dev.20230906191742",
3
+ "version": "1.3.6-dev.20230911180149",
4
4
  "description": "massa's wallet provider",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,11 +14,12 @@
14
14
  "build-commonjs": "tsc --project tsconfig.commonjs.json",
15
15
  "build-bundle": "webpack",
16
16
  "build": "npm run fmt && npm-run-all clean-dist build-*",
17
- "update-version-major": "npm version major",
18
- "update-version-minor": "npm version minor",
19
- "update-version-patch": "npm version patch",
20
- "test:serve-dapp": "cp ./bundle.js ./test/dapp/bundle.js && http-server test/dapp --cors --port 9009",
21
- "test": "cd ./test && npx playwright test",
17
+ "test-extension:serve-dapp": "cp ./bundle.js ./test-extension/dapp/bundle.js && http-server test-extension/dapp --cors --port 9009",
18
+ "test-extension": "cd ./test-extension && npx playwright test",
19
+ "unit-test-package": "jest --config ./jest.config.package.js",
20
+ "unit-test-commonjs": "jest --config ./jest.config.commonjs.js",
21
+ "unit-test-esm": "jest --config ./jest.config.esm.js",
22
+ "unit-test": "npm-run-all unit-test-*",
22
23
  "lint": "eslint .",
23
24
  "lint:fix": "eslint . --fix",
24
25
  "prettier": "prettier --check .",
@@ -64,14 +65,17 @@
64
65
  "varint": "^6.0.0"
65
66
  },
66
67
  "devDependencies": {
68
+ "@babel/preset-env": "^7.22.14",
67
69
  "@massalabs/eslint-config": "^0.0.9",
68
70
  "@massalabs/prettier-config-as": "^0.0.2",
69
71
  "@playwright/test": "^1.32.3",
70
72
  "@types/bn.js": "^5.1.1",
71
73
  "@types/chai": "^4.3.4",
74
+ "@types/jest": "^29.5.4",
72
75
  "@types/mocha": "^10.0.1",
73
76
  "@types/node": "^18.13.0",
74
77
  "@types/secp256k1": "^4.0.3",
78
+ "babel-jest": "^29.6.4",
75
79
  "browserify": "^17.0.0",
76
80
  "chai": "^4.3.7",
77
81
  "chalk": "^4.1.0",
@@ -79,11 +83,14 @@
79
83
  "express": "^4.18.2",
80
84
  "fs-extra": "^11.1.1",
81
85
  "http-server": "^14.1.1",
86
+ "jest": "^29.6.4",
87
+ "jest-environment-jsdom": "^29.6.4",
82
88
  "mocha": "^10.2.0",
83
89
  "node-ts": "^5.1.2",
84
90
  "prettier": "^2.8.4",
85
91
  "prettier-eslint": "^15.0.1",
86
92
  "prettier-standard": "^16.4.1",
93
+ "ts-jest": "^29.1.1",
87
94
  "ts-loader": "^9.4.4",
88
95
  "ts-node": "^10.9.1",
89
96
  "tslib": "^2.5.0",
@@ -99,5 +106,8 @@
99
106
  "bufferutil": "^4.0.7",
100
107
  "utf-8-validate": "^6.0.2"
101
108
  },
102
- "prettier": "@massalabs/prettier-config-as"
109
+ "prettier": "@massalabs/prettier-config-as",
110
+ "_moduleAliases": {
111
+ "@massalabs/wallet-provider": "./dist/index.js"
112
+ }
103
113
  }