-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 2.07 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
{
"name": "@castframework/smartcoin",
"version": "1.0.0",
"description": "Stable coin for the CAST framework",
"author": "Société Générale Forge",
"license": "See license in LICENSE",
"private": true,
"main": "truffle-config.js",
"engines": {
"node": "16.15"
},
"devDependencies": {
"@truffle/hdwallet-provider": "2.0.0",
"@typechain/truffle-v5": "6.0.0",
"@types/chai": "~4.3.1",
"@types/chai-as-promised": "~7.1.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"chai": "^4.3.6",
"chai-as-promised": "~7.1.1",
"dotenv": "^16.0.3",
"eslint": "^7.11.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "2.25.3",
"ethers": "5.7.2",
"lint-staged": "^12.1.2",
"mocha": "^8.4.0",
"prettier": "^2.5.1",
"solhint": "3.3.6",
"solhint-plugin-prettier": "0.0.5",
"solidity-coverage": "0.7.17",
"truffle": "5.4.24",
"truffle-security": "1.7.3",
"truffle-typings": "^1.0.8",
"typechain": "6.0.5",
"typescript": "~4.7.4"
},
"scripts": {
"clean": "rm -rf dist/",
"build:ts": "tsc",
"build": "npm run clean && npm run build:contracts && npm run build:ts",
"build:contracts": "npx --no truffle -- compile 2>&1 && typechain --target truffle-v5 \"./dist/**/*.json\" --out-dir ./dist/types",
"build:watch": "npm run build:ci",
"deploy": "npx --no truffle deploy",
"lint:sol": "solhint -f table {src,contracts}/**/*.sol",
"lint:ts": "eslint --ext ts src/**/*.ts",
"lint": "npm run lint:ts && npm run lint:sol",
"prestats": "npm run build && npm run lint && npm run prettify",
"prettify:sol": "prettier --config ./.prettierrc --write \"{src,contracts}/**/*.sol\"",
"prettify:ts": "prettier --config ./.prettierrc --write \"./src/**/*.ts\"",
"prettify": "npm run prettify:ts && npm run prettify:sol",
"test": "npm run build:ts && truffle test",
"verify": "truffle run verify",
"pre-commit": "lint-staged --verbose"
},
"lint-staged": {
"*.ts": "eslint --ignore-path .gitignore --max-warnings=0",
"*.sol": "npm run lint:sol"
}
}