-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 1.48 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
{
"name": "near-contract",
"version": "0.1.0",
"license": "MIT",
"scripts": {
"build": "npm run build:contract && npm run build:web",
"build:contract": "node contract/compile.js",
"build:contract:debug": "node contract/compile.js --debug",
"deploy:contract": "near deploy",
"build:contract:testnet": "export NODE_ENV=testnet && node contract/compile.js",
"deploy:contract:testnet": "export NODE_ENV=testnet && near deploy",
"test:workspace": "cargo run --example main -- --nocapture",
"test": "cross-env NODE_ENV=testnet && jest rest-api.test.js --useStderr --verbose false",
"test:create_event": "cross-env NODE_ENV=testnet && jest rest-api.test.js -t 'Create Event' --useStderr --verbose false"
},
"devDependencies": {
"@babel/core": "~7.12.3",
"@babel/preset-env": "~7.12.1",
"@babel/preset-react": "~7.12.5",
"babel-jest": "~26.6.2",
"shelljs": "~0.8.4",
"jest": "~26.6.2",
"jest-environment-node": "~26.6.2"
},
"dependencies": {
"near-api-js": "^0.44.2",
"node-fetch": "^2.6.1",
"regenerator-runtime": "~0.13.5",
"bn.js": "^5.2.1"
},
"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-cli/test_environment",
"testPathIgnorePatterns": [
"<rootDir>/contract/",
"<rootDir>/node_modules/"
]
}
}