-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
88 lines (88 loc) · 2.97 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
83
84
85
86
87
88
{
"name": "minterjs-util",
"version": "0.25.1",
"description": "Utils for Minter",
"main": "dist/cjs/index.js",
"module": "src/index.js",
"browser": {
"./dist/cjs/index.js": "./dist/index.js"
},
"unpkg": "dist/index.min.js",
"files": [
"/src/",
"/dist/"
],
"scripts": {
"build": "npm run build:browser && npm run build:browser-minify && npm run build:cjs",
"build:browser": "rollup -c build/rollup.config.js",
"build:cjs": "babel src/ -d dist/cjs/ --config-file ./build/babel-cjs.config.js --no-babelrc",
"build:browser-minify": "rollup -c build/rollup.uglify.config.js",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"precommit": "echo 'Pre-commit checks...' && npm run lint",
"lint": "eslint --ext .js ./src/ ./test/",
"lint:fix": "eslint --ext .js ./src/ ./test/ --fix",
"tsc": "tsc --project tsconfig.json",
"test": "npm run jest-coverage && npm run build && npm run jest:bundle-browser && npm run jest:bundle-cjs",
"test:bundle-browser": "npm run build:browser && npm run jest:bundle-browser",
"test:bundle-cjs": "npm run build:cjs && npm run jest:bundle-cjs",
"jest": "jest",
"jest:bundle-browser": "jest --config jest-bundle-browser.config.js",
"jest:bundle-cjs": "jest --config jest-bundle-cjs.config.js",
"jest-coverage": "jest --coverage"
},
"pre-commit": [
"precommit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/MinterTeam/minterjs-util.git"
},
"keywords": [
"minter",
"blockchain"
],
"author": "MinterTeam (https://github.com/MinterTeam)",
"license": "MIT",
"bugs": {
"url": "https://github.com/MinterTeam/minterjs-util/issues"
},
"dependencies": {
"big.js": "^6.2.1",
"bn.js": "^5.2.1",
"buffer-es6": "https://[email protected]/shrpne/buffer-es6#fix-internal-is-buffer",
"ethereum-cryptography": "0.1.3",
"ethereumjs-util": "^7.1.5",
"ethjs-util": "^0.1.6",
"pretty-num": "^0.5.2",
"secp256k1": "^4.0.3"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@babel/preset-env": "^7.21.4",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.0",
"babel-jest": "^29.5.0",
"coveralls": "^3.1.1",
"eslint": "^8.37.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^40.1.1",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-unicorn": "^46.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-expect-message": "^1.1.3",
"pre-commit": "^1.2.2",
"rollup": "^3.20.2",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"typescript": "^5.0.3"
}
}