-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.46 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@stiemsdev/ownables-demo",
"version": "0.1.0",
"license": "MIT",
"description": "Demo for LTO Ownables",
"homepage": "https://stiemsdev.github.io/ownables-demo",
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@fontsource/montserrat": "^4.5.14",
"@ltonetwork/lto": "^0.15.13",
"@mui/icons-material": "^5.11.9",
"@mui/material": "^5.11.10",
"@scure/base": "^1.1.6",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^29.4.0",
"@types/node": "^16.18.12",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"all-inline": "^0.1.7",
"blockstore-core": "^4.0.1",
"buffer": "^6.0.3",
"craco": "^0.0.3",
"file-saver": "^2.0.5",
"heic2any": "^0.0.4",
"ipfs-unixfs-importer": "^15.1.0",
"jszip": "^3.10.1",
"mime": "^3.0.0",
"notistack": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-json-view": "^1.21.3",
"react-router-dom": "^6.22.2",
"react-scripts": "5.0.1",
"react-tag-input": "^6.9.0",
"react-tagsinput": "^3.20.3",
"simple-iframe-rpc": "^0.1.10",
"stream-browserify": "^3.0.0",
"tuai": "^1.0.8",
"typescript": "^4.9.5",
"util": "^0.12.5",
"web-vitals": "^2.1.4",
"webpack-cli": "^5.0.1"
},
"overrides": {
"react-json-view": {
"react": "$react",
"react-dom": "$react-dom"
}
},
"scripts": {
"start": "npm run build:ownable.js && craco start",
"build": "npm run build:ownable.js && craco build",
"test": "craco test",
"build:ownable.js": "webpack --config ownable-js.webpack.js --no-stats",
"rustup": "curl https://sh.rustup.rs -sSf | sh; curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh; rustup default stable; rustup update stable; rustup target add wasm32-unknown-unknown",
"ownables:build": "if test -f ./ownables/$npm_config_package/Cargo.toml; then rm -rf ./ownables/$npm_config_package/pkg/ && wasm-pack build --out-name ownable --target web ./ownables/$npm_config_package/ && cd ./ownables/$npm_config_package/ && cargo schema && cd ../../ && zip -r -j ./ownables/$npm_config_package.zip ./ownables/$npm_config_package/assets/ ./ownables/$npm_config_package/pkg/*.js ./ownables/$npm_config_package/pkg/*.wasm ./ownables/$npm_config_package/pkg/package.json ./ownables/$npm_config_package/schema/*.json; else zip -r -j ./ownables/$npm_config_package.zip ./ownables/$npm_config_package/*; fi",
"ownables:build-all": "for DIR in $(ls ./ownables); do test -d ./ownables/$DIR && npm run ownables:build --package=$DIR; done",
"ownables:clean": "rm -rf ./ownables/*.zip ./ownables/*/target/ ./ownables/*/pkg/ ./ownables/*/schema/ ./ownables/*/Cargo.lock",
"ownables:cid": "node bin/package-cid.mjs ownables/$npm_config_package.zip"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stiemsdev/ownables-demo.git"
},
"keywords": [
"webassembly",
"wasm",
"rust",
"webpack"
],
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/react-tag-input": "^6.6.6",
"@types/react-tagsinput": "^3.20.6"
}
}