/
package.json
42 lines (42 loc) · 1.45 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
{
"name": "@unlock-protocol/contracts",
"version": "0.0.24",
"main": "dist/index.js",
"scripts": {
"clean": "rm -rf dist docs",
"test": "hardhat test",
"abi:cleanup": "yarn clean && tsc && node dist/utils/cleanup.js",
"build": "yarn build:index && yarn build:dist",
"build:dist": "yarn clean && tsc && yarn contracts:copy && yarn docs && yarn docs:copy",
"build:index": "yarn clean && tsc && node dist/utils/parser.js > src/index.ts",
"ci": "yarn test",
"lint": "eslint --resolve-plugins-relative-to ../eslint-config --ext .ts,.js src/",
"contracts:copy": "copyfiles --verbose -u 2 src/**/*.sol dist",
"copyfiles": "copyfiles",
"docs": "sh ./bin/build_docs.sh",
"docs:copy": "copyfiles --verbose docs/**/*.json docs/**/*.md dist",
"prepublish": "yarn clean && yarn build",
"publish:npm": "yarn prepublish && npm publish"
},
"repository": {
"type": "git",
"url": "https://github.com/unlock-protocol/unlock.git",
"directory": "packages/contracts"
},
"devDependencies": {
"@nomiclabs/hardhat-etherscan": "3.1.8",
"@primitivefi/hardhat-dodoc": "0.2.3",
"@unlock-protocol/networks": "workspace:^",
"@unlock-protocol/tsconfig": "workspace:./packages/tsconfig",
"@unlock-protocol/types": "workspace:^",
"chai": "4.3.10",
"copyfiles": "2.4.1",
"eslint": "8.54.0",
"fs-extra": "11.2.0",
"hardhat": "2.20.1",
"typescript": "5.3.3"
},
"files": [
"dist"
]
}