-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.75 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
{
"name": "@payrollah/payrollah-registry",
"version": "1.0.0",
"files": [
"dist",
"src",
"types",
"truffle-config.js"
],
"description": "",
"repository": "[email protected]:payrollah/payrollah-registry.git",
"main": "dist/index.js",
"types": "dist/ts/index.d.ts",
"release": {
"branches": [
"main"
]
},
"scripts": {
"blockchain": "ganache-cli",
"build:js:copy-src": "babel src -d dist --ignore src/**/*.spec.ts,src/**/*.test.ts -x .js,.ts,.tsx --copy-files",
"build:js": "tsc --emitDeclarationOnly && npm run build:js:copy-src",
"build:sol": "truffle build",
"build": "npm run build:sol && npm run typechain && npm run build:js",
"copy-types": "rm -rf types && mkdir -p types && cp src/contracts/*.d.ts types/ && mkdir -p dist/ts/contracts && cp src/contracts/*.d.ts dist/ts/contracts",
"test:sol": "truffle test",
"test": "concurrently -k -s first \"npm:blockchain -- --quiet\" \"npm:test:sol\"",
"typechain": "typechain --target ethers-v5 \"build/contracts/*.json\" --outDir src/contracts && npm run copy-types",
"semantic-release": "semantic-release"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/preset-typescript": "^7.13.0",
"@openzeppelin/contracts": "^2.5.1",
"@typechain/ethers-v5": "^6.0.4",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"concurrently": "^6.0.0",
"ethers": "^5.0.8",
"ganache-cli": "^6.12.2",
"semantic-release": "^17.4.2",
"truffle": "^5.2.5",
"typechain": "^4.0.3",
"typescript": "^4.2.3"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"truffle-flatten": "^1.0.8"
}
}