-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpackage.json
73 lines (73 loc) · 2.42 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "rust-status-message-builder",
"version": "1.0.0",
"description": "Compiles NEAR Protocol example of setting and retrieving a status message per NEAR account",
"scripts": {
"build": "rustup target add wasm32-unknown-unknown && cargo build --target wasm32-unknown-unknown --release",
"build:web": "parcel build ./frontend/index.html --public-url ./ --no-minify",
"postbuild": "cp ./target/wasm32-unknown-unknown/release/status_message.wasm ./res/",
"deploy:dev": "npm run build && near dev-deploy res/status_message.wasm",
"dev": "npm run deploy:dev && npm start",
"start": "npm run build && npm run build:web && env-cmd -f ./neardev/dev-account.env parcel ./frontend/index.html",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "cargo test -- --nocapture",
"test:integration": "npm run test:integration:rs && npm run test:integration:ts",
"test:integration:rs": "npm run build && npm run postbuild && cd integration-tests/rs && cargo run --example integration-tests",
"test:integration:ts": "npm run build && npm run postbuild && ava --verbose"
},
"repository": {
"type": "git",
"url": "git+https://github.com/near-examples/rust-status-message.git"
},
"keywords": [
"near-protocol",
"blockchain",
"rust",
"smart-contract"
],
"author": "Mike Purvis",
"license": "(MIT AND Apache-2.0)",
"bugs": {
"url": "https://github.com/near-examples/rust-status-message/issues"
},
"homepage": "https://github.com/near-examples/rust-status-message#readme",
"dependencies": {
"big.js": "^5.2.2",
"borsh": "^0.4.0",
"env-cmd": "^10.1.0",
"near-api-js": "^0.43.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"regenerator-runtime": "^0.13.9"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/preset-env": "^7.14.2",
"@babel/preset-react": "^7.13.13",
"cssnano": "^5.0.7",
"gh-pages": "^3.1.0",
"parcel-bundler": "^1.12.5",
"postcss": "^8.3.6",
"sass": "^1.37.0",
"near-workspaces": "^3.1.0",
"ava": "^4.2.0",
"typescript": "^4.6.4",
"ts-node": "^10.7.0"
},
"resolutions": {
"@babel/preset-env": "7.13.8"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}