This repository has been archived by the owner on Oct 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
46 lines (46 loc) · 1.75 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
{
"name": "react-parcel-boilerplate",
"version": "1.0.0",
"description": "React Parcel Boilerplate",
"author": "Matt Lockyer",
"license": "ISC",
"dependencies": {
"bn": "^1.0.5",
"near-api-js": "^0.36.2",
"near-seed-phrase": "^0.1.0",
"parcel": "^2.0.0-beta.1",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"devDependencies": {
"eslint": "^7.14.0",
"jest": "^26.6.3",
"jest-environment-uint8array": "^1.0.0",
"node-fetch": "^2.6.1",
"rimraf": "^3.0.2",
"sass": "^1.32.8"
},
"browserslist": [
"last 2 Chrome versions"
],
"scripts": {
"prestart": "yarn clean",
"start:deploy": "yarn test:deploy && yarn start",
"start": "REACT_APP_ENV=dev parcel src/index.html --open",
"prebuild": "yarn clean",
"build": "parcel build src/index.html --no-source-maps",
"clean": "rimraf ./dist ./parcel-cache",
"fix": "eslint src/ test/ server/ --fix",
"build:contracts": "(cd contracts/nft-simple && ./build.sh) && (cd contracts/market-simple && ./build.sh)",
"patch:config": "node ./utils/patch-config.js",
"dev:deploy": "yarn build:contracts && rm -rf neardev && (near dev-deploy || exit 0) && yarn patch:config",
"test:unit": "(cd contracts && cargo test -- --nocapture --color always)",
"test:deploy": "yarn dev:deploy && yarn test",
"test": "REACT_APP_ENV=dev jest app.test.js --useStderr",
"test:server": "REACT_APP_ENV=dev jest server.test.js --useStderr",
"deploy": "REACT_APP_ENV=prod yarn build && cp -a static/* dist && gh-pages -d dist"
},
"jest": {
"testEnvironment": "jest-environment-uint8array"
}
}