-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
140 lines (140 loc) · 4.92 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "new-corgi",
"version": "0.1.0",
"private": true,
"scripts": {
"build:contract": "cd contract && cargo build --target wasm32-unknown-unknown --release",
"test:contract": "cd contract && cargo test",
"dev-deploy:contract": "rm -rf neardev/ && near dev-deploy --wasmFile contract/target/wasm32-unknown-unknown/release/corgis_nft.wasm",
"api-test:contract": "CONTRACT_NAME=`cat neardev/dev-account` jest api.test.js --env=node --runInBand --testTimeout=500000",
"deploy:contract": "near deploy --wasmFile contract/target/wasm32-unknown-unknown/release/corgis_nft.wasm",
"build:web": "NODE_ENV=testnet parcel build src/index.html --public-url ./",
"deploy:web": "gh-pages --dist dist",
"build": "yarn build:contract && yarn build:web",
"deploy": "yarn build && yarn deploy:contract && yarn deploy:web",
"dev-start": "yarn build:contract && yarn dev-deploy:contract && CONTRACT_NAME=`cat neardev/dev-account` parcel src/index.html",
"start": "yarn build:contract && yarn deploy:contract && parcel src/index.html",
"test": "yarn test:contract && yarn build:contract && jest test --runInBand",
"lint": "eslint --ext js,jsx src",
"lint:file": "eslint",
"lint:fix": "yarn lint -- --fix",
"lint:fix:dry": "yarn lint -- --fix-dry-run"
},
"dependencies": {
"@babel/runtime": "^7.10.4",
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@fortawesome/react-fontawesome": "^0.1.14",
"bad-words": "^3.0.4",
"big.js": "^5.2.2",
"bootstrap": "^5.0.0-beta2",
"classnames": "^2.2.6",
"gh-pages": "^3.1.0",
"humanize-duration": "^3.25.1",
"near-api-js": "0.37.0",
"project-name-generator": "^2.1.7",
"prop-types": "^15.7.2",
"randomcolor": "^0.5.4",
"react": ">=16.x",
"react-color": "^2.19.3",
"react-dom": "^17.0.1",
"react-router-dom": "5.2.0",
"react-scripts": "4.0.1",
"regenerator-runtime": "^0.13.5",
"save-svg-as-png": "^1.4.17",
"sharethis-reactjs": "^1.6.0",
"tinycolor2": "^1.4.1",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/preset-react": "^7.12.10",
"autobahn": "^20.9.2",
"babel-jest": "^26.0.0",
"bn.js": "^5.2.0",
"bs58": "^4.0.1",
"chalk": "^4.1.0",
"chart.js": "^2.9.4",
"eslint": "^7.19.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx": "^0.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"jest-environment-node": "^26.6.2",
"js-sha256": "^0.9.0",
"near-cli": "^1.5.4",
"near-seed-phrase": "^0.1.1",
"node-sass": "^5.0.0",
"parcel-bundler": "^1.12.4",
"prettier": "^2.2.1",
"react-test-renderer": "^17.0.1"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"absoluteRuntime": false,
"corejs": false,
"helpers": true,
"regenerator": true,
"useESModules": false,
"version": "7.0.0-beta.0"
}
]
]
},
"babelrc": {
"presets": [
[
"env",
{
"targets": {
"browsers": [
"last 2 Chrome versions"
]
}
}
]
]
},
"eslintConfig": {
"extends": "react-app"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/src/__mocks__/fileMock.js"
},
"setupFiles": [
"<rootDir>/src/jest.init.js"
],
"testEnvironment": "near-shell/test_environment",
"testPathIgnorePatterns": [
"<rootDir>/assembly/",
"<rootDir>/node_modules/"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 Chrome versions",
"last 1 firefox version",
"last 1 safari version"
]
}
}