-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
95 lines (95 loc) · 3.69 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
89
90
91
92
93
94
95
{
"name": "@faction-nfts/xsublimatio-smart-contracts",
"version": "1.3.3",
"description": "XSublimatio smart contracts and Typechain bindings",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"umd:main": "dist/umd/index.js",
"types": "dist/types/index.d.js",
"scripts": {
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"build:cjs": "node scripts/cleanup cjs && tsc -p config/tsconfig.cjs.json",
"build:esm": "node scripts/cleanup esm && tsc -p config/tsconfig.esm.json",
"build:umd": "node scripts/cleanup umd && webpack --config config/webpack.config.js",
"build:types": "node scripts/cleanup types && tsc -p config/tsconfig.types.json",
"clean": "npx hardhat clean && node scripts/cleanup",
"package": "npm run build && npm pack",
"compile": "npm run clean && npx hardhat compile && npm run web3-typechain && npm run ethers-typechain && npm run prettier",
"test": "npx hardhat test",
"test:localhost": "npx hardhat --network localhost test",
"test:coverage": "npm run compile && npx hardhat coverage --temp artifacts --network coverage",
"prettier": "prettier --write ./",
"web3-typechain": "typechain --target web3-v1 --out-dir ./src/web3 './artifacts/contracts/XSublimatio.sol/XSublimatio.json'",
"ethers-typechain": "typechain --target ethers-v5 --out-dir ./src/ethers './artifacts/contracts/XSublimatio.sol/XSublimatio.json'",
"deploy:localhost": "npx hardhat run --network localhost scripts/deploy.ts",
"generateConstants": "npx hardhat run scripts/generateConstants.ts"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"keywords": [
"solidity",
"ethereum",
"nft"
],
"author": "Faction",
"license": "MIT",
"homepage": "https://github.com/XSublimatio/smart-contracts",
"repository": {
"type": "git",
"url": "[email protected]:XSublimatio/smart-contracts.git"
},
"bugs": {
"url": "https://github.com/XSublimatio/smart-contracts/issues"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@nomiclabs/hardhat-ethers": "^2.0.4",
"@nomiclabs/hardhat-waffle": "^2.0.2",
"@openzeppelin/contracts": "^4.7.0",
"@typechain/ethers-v5": "^9.0.0",
"@typechain/hardhat": "^4.0.0",
"@typechain/web3-v1": "^5.0.0",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.4",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.13",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"dotenv": "^14.3.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.3",
"hardhat": "^2.8.3",
"hardhat-gas-reporter": "^1.0.7",
"husky": "^7.0.2",
"pinst": "^2.1.6",
"prettier": "^2.5.1",
"solidity-coverage": "^0.7.17",
"ts-loader": "^9.2.5",
"ts-node": "^10.6.0",
"typechain": "^7.0.0",
"typescript": "^4.5.5",
"web3": "^1.7.0",
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0"
},
"peerDependencies": {
"ethers": "^5.5.3",
"web3": "^1.7.0"
},
"engines": {
"node": ">=14 <=17"
}
}