-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
42 lines (42 loc) · 1.98 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": "assembly-script-template",
"version": "1.0.0",
"description": "template for writing contract code",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --validate --sourceMap --debug",
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --validate --sourceMap --optimize",
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized",
"asbuild:json-test": "asc tests/json-test.ts -b build/json-test.wasm -t build/json-test.wat --validate --sourceMap --debug",
"asbuild:coin": "asc tests/coin.ts -b build/coin.wasm -t build/coin.wat --validate --sourceMap --debug",
"asbuild:decimal": "asc tests/decimal-test.ts -b build/decimal-test.wasm -t build/decimal-test.wat --validate --sourceMap --debug",
"asbuild:context-test": "asc tests/context-test.ts -b build/context-test.wasm -t build/context-test.wat --validate --sourceMap --optimize",
"asbuild:rlp-test": "asc tests/rlp-test.ts -b build/rlp-test.wasm -t build/rlp-test.wat --validate --sourceMap --optimize",
"asbuild:db-test": "asc tests/db-test.ts -b build/db-test.wasm -t build/db-test.wat --validate --sourceMap --optimize",
"deploy": "node ./deploy.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TrustedDataFramework/assembly-script-template.git"
},
"author": "Salpadding",
"license": "MIT",
"bugs": {
"url": "https://github.com/TrustedDataFramework/assembly-script-template/issues"
},
"homepage": "https://github.com/TrustedDataFramework/assembly-script-template#readme",
"devDependencies": {
"@salaku/js-sdk": "^1.1.5",
"@salaku/sm-crypto": "^0.3.0",
"assemblyscript": "^0.9.2",
"axios": "^0.19.2",
"bn.js": "^5.1.2",
"commander": "^2.20.0",
"rlp": "^2.2.6",
"ws": "^7.3.1"
},
"dependencies": {
"@assemblyscript/loader": "^0.9.2"
}
}