-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
52 lines (52 loc) · 1.66 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
{
"name": "near",
"description": "PDAO NEAR Project",
"version": "0.1.0",
"license": "(MIT AND Apache-2.0)",
"packageManager": "yarn@3.2.2",
"scripts": {
"build": "yarn build:nowasm && yarn build:rustup && yarn build:cpwasm",
"build:nowasm": "cargo build --workspace --exclude pdao-near-simple-counter --release",
"build:rustup": "rustup target add wasm32-unknown-unknown && cargo build --package pdao-near-simple-counter --target wasm32-unknown-unknown --release",
"build:cpwasm": "mkdir -p out && rm -f ./out/main.wasm && cp ./target/wasm32-unknown-unknown/release/pdao_near_simple_counter.wasm ./out/main.wasm",
"deploy": "yarn build && near dev-deploy",
"format": "cargo fmt --all -- --check",
"test:lint": "cargo clippy --all --all-targets --release",
"test:unit": "TEST_CONFIG=test_config_example.json cargo test --all",
"js:start": "tsc -p js-interact && node js-interact/dist/index.js",
"js:test": "cd js-interact && jest --detectOpenHandles"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/jest": "^28.1.6",
"jest": "^28.1.3",
"near-cli": "^3.4.0",
"near-workspaces": "^3.1.0",
"supertest": "^6.2.4",
"ts-jest": "^28.0.7",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
"dependencies": {
"express": "^4.18.1",
"near-api-js": "^0.44.2"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "\\.test\\.ts$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"globals": {
"ts-jest": {
"diagnostics": true,
"tsconfig": "tsconfig.json"
}
}
}
}