-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
54 lines (54 loc) · 1.6 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
{
"name": "stacks-encoding-native-js",
"version": "0.1.0",
"description": "Encoding & decoding functions for the Stacks blockchain exposed as a fast native Node.js addon",
"main": "index.js",
"scripts": {
"build:cargo": "node build.js",
"build:ts": "tsc",
"build": "npm run build:ts && npm run build:cargo",
"build:dev": "npm run build:ts && npm run build:cargo -- dev",
"test:cargo": "cargo test",
"test:js": "jest",
"test": "npm run test:js",
"lint": "npm run lint:cargo",
"lint:cargo": "cargo fmt --all -- --check",
"lint:fix": "cargo fmt --all",
"perf-test:contract-call-args": "node --expose-gc perf-tests/decode-contract-call-args/test.js",
"perf-test:decode-post-conditions": "node --expose-gc perf-tests/decode-post-conditions/test.js",
"perf-test:encode-stx-address": "node perf-tests/encode-stx-address/test.js",
"perf-test:decode-stx-address": "node perf-tests/decode-stx-address/test.js"
},
"author": "Matthew Little",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/hirosystems/stacks-encoding-native-js.git"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"cargo-cp-artifact": "^0.1.9",
"jest": "^27.5.1",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"dependencies": {
"@types/node": "^16.11.26",
"detect-libc": "^2.0.1"
},
"files": [
"README.md",
"native/**/*",
"index.js",
"index.d.ts",
"loader.js",
"loader.d.ts"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/tests"
]
}
}