-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.93 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
{
"name": "nft-market",
"version": "1.0.0",
"description": "NEAR NFT Market Reference Implementation",
"author": "Matt Lockyer | NEAR Protocol",
"license": "MIT",
"dependencies": {
"@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1",
"@mui/material": "^5.4.3",
"bn": "^1.0.5",
"bootstrap": "^5.1.3",
"buffer": "^6.0.3",
"copy-to-clipboard": "^3.3.1",
"cors": "^2.8.5",
"moment": "^2.29.1",
"near-api-js": "^0.44.2",
"near-seed-phrase": "^0.2.0",
"node-sass": "^7.0.1",
"pg": "^8.7.3",
"react": "^17.0.2",
"react-bootstrap": "^2.1.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.2.1",
"react-scripts": "5.0.0"
},
"devDependencies": {
"@parcel/transformer-image": "^2.2.1",
"@parcel/transformer-sass": "^2.2.1",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.11.21",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"cross-env": "^7.0.3",
"eslint": "^8.7.0",
"gh-pages": "^3.2.3",
"jest": "^27.4.7",
"jest-environment-uint8array": "^1.0.0",
"node-fetch": "^3.2.0",
"parcel": "^2.2.1",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"sass": "^1.49.0",
"typescript": "^4.5.5"
},
"browserslist": [
"last 2 Chrome versions"
],
"scripts": {
"hoist-credentials": "mkdir ./neardev/testnet && mkdir ./neardev/mainnet && node ./utils/hoist-credentials.js",
"test:deploy": "yarn dev:deploy && yarn hoist-credentials && yarn test",
"dev:deploy": "yarn build:contracts && rm -rf neardev && (near dev-deploy || exit 0) && yarn patch:config",
"build:contracts": "cd contracts/nft-staking && ./build.sh && cd ../ft && ./build.sh",
"patch:config": "node ./utils/patch-config.js",
"test": "cross-env REACT_APP_ENV=dev jest app.test.js --useStderr",
"prestart": "rm -rf ./parcel-cache",
"start": "react-scripts start",
"start:helper": "cross-env REACT_APP_ENV=dev REACT_APP_API_HELPER=true parcel src_template/index.html --open",
"start:deploy": "yarn patch:deploy-config && cross-env REACT_APP_ENV=dev REACT_APP_API_HELPER=true parcel src_template/index.html --open",
"fix": "eslint src_template/ test/ --fix",
"test:unit": "(cd contracts && cargo test -- --nocapture --color always)",
"prebuild": "rm -rf ./dist",
"patch:deploy-config": "node ./utils/patch-deploy-config.js",
"build": "parcel build src_template/index.html --public-url https://near-apps.github.io/nft-market/",
"deploy": "yarn patch:deploy-config && cross-env REACT_APP_ENV=dev REACT_APP_API_HELPER=true yarn build && gh-pages -d dist",
"start_frontend": "cross-env PORT=4003 react-scripts start",
"build_frontend": "react-scripts build",
"test_frontend": "react-scripts test",
"eject_frontend": "react-scripts eject",
"server": "node ./api/server.js"
}
}