|
1 | 1 | { |
2 | 2 | "name": "erc20-meta-token", |
3 | | - "version": "2.2.0", |
4 | | - "description": "General ERC-1155 Transaction Wrapper Contract for ERC20s", |
| 3 | + "private": true, |
| 4 | + "workspaces": ["src"], |
| 5 | + "description": "General ERC-1155 Transaction Wrapper Contract for ERC20 Tokens", |
5 | 6 | "repository": "https://github.com/0xsequence/erc20-meta-token", |
6 | 7 | "license": "Apache-2.0", |
7 | 8 | "scripts": { |
8 | 9 | "build": "yarn clean && yarn compile && yarn gen:typings", |
9 | | - "clean": "rimraf artifacts && rimraf typings/contracts && rimraf cache", |
| 10 | + "clean": "rimraf src/artifacts && rimraf src/typings/contracts && rimraf src/cache", |
10 | 11 | "compile": "hardhat --max-memory 4096 compile", |
11 | | - "gen:typings": "rimraf typings/contracts && typechain --target ethers-v5 --outDir typings/contracts './artifacts/!(build-info)/**/*[^dbg].json'", |
| 12 | + "gen:typings": "rimraf src/typings/contracts && typechain --target ethers-v5 --outDir src/typings/contracts './src/artifacts/!(build-info)/**/*[^dbg].json'", |
12 | 13 | "test": "yarn build && yarn concurrently -k --success first 'yarn start:ganache' 'yarn test:ganache'", |
13 | 14 | "test:hardhat": "hardhat test tests/*.spec.ts", |
14 | 15 | "test:ganache": "hardhat --network ganache test tests/*.spec.ts", |
15 | 16 | "test:gas-report": "REPORT_GAS=true yarn test", |
16 | 17 | "test:benchmark": "hardhat --network ganache test tests/*.bench.ts", |
17 | 18 | "lint": "yarn lint:ts && yarn lint:sol", |
18 | 19 | "lint:fix": "yarn lint:ts:fix && yarn lint:sol:fix", |
19 | | - "lint:sol": "solhint './contracts/**/*.sol'", |
20 | | - "lint:sol:fix": "solhint './contracts/**/*.sol' --fix", |
| 20 | + "lint:sol": "solhint './src/contracts/**/*.sol'", |
| 21 | + "lint:sol:fix": "solhint './src/contracts/**/*.sol' --fix", |
21 | 22 | "lint:ts": "eslint -c .eslintrc.js './**/*.ts'", |
22 | 23 | "lint:ts:fix": "eslint -c .eslintrc.js --fix './**/*.ts'", |
23 | 24 | "format": "prettier --write ./**/*.ts", |
24 | 25 | "start:ganache": "ganache-cli --chainId ${npm_package_config_ganacheChainID} --networkId ${npm_package_config_ganacheChainID} --port ${npm_package_config_ganachePort} --gasLimit ${npm_package_config_ganacheGasLimit} --gasPrice ${npm_package_config_ganacheGasPrice} --defaultBalanceEther ${npm_package_config_etherBalance} --deterministic --mnemonic \"${npm_package_config_mnemonic}\" ${npm_package_config_extra}", |
25 | 26 | "start:ganache:verbose": "yarn run start:ganache --verbose", |
26 | | - "stop:ganache": "ps aux | grep ganache-cli | grep -v grep | awk '{print $2}' | xargs kill -9" |
| 27 | + "stop:ganache": "ps aux | grep ganache-cli | grep -v grep | awk '{print $2}' | xargs kill -9", |
| 28 | + "release": "yarn publish src" |
27 | 29 | }, |
28 | 30 | "dependencies": { |
29 | | - "multi-token-standard": "2.2.0" |
30 | 31 | }, |
31 | 32 | "devDependencies": { |
32 | 33 | "@nomiclabs/hardhat-ethers": "^2.0.2", |
33 | 34 | "@nomiclabs/hardhat-truffle5": "^2.0.0", |
34 | 35 | "@nomiclabs/hardhat-web3": "^2.0.0", |
35 | | - "@typechain/ethers-v5": "^6.0.0", |
| 36 | + "@typechain/ethers-v5": "^6.0.3", |
36 | 37 | "@types/chai": "^4.2.15", |
37 | 38 | "@types/chai-as-promised": "^7.1.3", |
38 | 39 | "@types/chai-string": "^1.4.2", |
39 | 40 | "@types/mocha": "^8.2.0", |
40 | 41 | "@types/node": "^14.14.16", |
41 | | - "@typescript-eslint/eslint-plugin": "^4.17.0", |
42 | | - "@typescript-eslint/parser": "^4.17.0", |
| 42 | + "@typescript-eslint/eslint-plugin": "^4.18.0", |
| 43 | + "@typescript-eslint/parser": "^4.18.0", |
43 | 44 | "chai": "^4.3.4", |
44 | 45 | "chai-as-promised": "^7.1.1", |
45 | 46 | "chai-bignumber": "^3.0.0", |
|
67 | 68 | "ERC1155", |
68 | 69 | "ethereum" |
69 | 70 | ], |
70 | | - "files": [ |
71 | | - "README.md", |
72 | | - "LICENSE", |
73 | | - "artifacts", |
74 | | - "contracts", |
75 | | - "typings" |
76 | | - ], |
77 | 71 | "config": { |
78 | 72 | "mnemonic": "test test test test test test test test test test test junk", |
79 | 73 | "ganacheChainID": 127001, |
|
0 commit comments