forked from mattlockyer/nft-market
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.34 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
{
"name": "nft-market",
"version": "1.0.0",
"description": "NEAR NFT Market Reference Implementation",
"author": "Matt Lockyer | NEAR Protocol",
"license": "MIT",
"dependencies": {
"bn": "^1.0.5",
"copy-to-clipboard": "^3.3.1",
"near-api-js": "^0.41.0",
"near-seed-phrase": "^0.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@parcel/transformer-image": "^2.0.0-nightly.2338",
"@parcel/transformer-sass": "^2.0.0-nightly.716",
"cross-env": "^7.0.3",
"eslint": "^7.14.0",
"gh-pages": "^3.1.0",
"jest": "^26.6.3",
"jest-environment-uint8array": "^1.0.0",
"node-fetch": "^2.6.1",
"parcel": "^2.0.0-beta.3.1",
"rimraf": "^3.0.2",
"sass": "^1.32.8"
},
"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-simple && ./build.sh && cd ../.. && cd contracts/market-simple && ./build.sh && cd ../.. && cd contracts/ft && ./build.sh && cd ../..",
"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": "cross-env REACT_APP_ENV=dev parcel src/index.html --open",
"start:helper": "cross-env REACT_APP_ENV=dev REACT_APP_API_HELPER=true parcel src/index.html --open",
"start:deploy": "yarn patch:deploy-config && cross-env REACT_APP_ENV=dev REACT_APP_API_HELPER=true parcel src/index.html --open",
"fix": "eslint src/ 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/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"
}
}