-
Notifications
You must be signed in to change notification settings - Fork 138
/
package.json
80 lines (80 loc) · 2.31 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
{
"name": "guest-book",
"version": "0.1.0",
"license": "MIT",
"scripts": {
"build": "yarn build:contract && yarn build:web",
"build:contract": "mkdir -p out/ && gulp",
"build:web": "parcel build src/index.html --public-url ./",
"deploy": "yarn build && near deploy && gh-pages -d dist/",
"dev": "yarn build:contract && near dev-deploy && nodemon --watch assembly -e ts --exec 'yarn dev:start'",
"lint": "eslint .",
"start": "yarn deploy && parcel src/index.html",
"dev:start": "env CONTRACT_NAME=$(cat neardev/dev-account) parcel src/index.html",
"test": "yarn build:contract && asp && jest"
},
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.24.0",
"assemblyscript": "^0.9.4",
"babel-jest": "^25.1.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-standard": "^4.0.1",
"gh-pages": "^2.2.0",
"gulp": "^4.0.2",
"jest": "^25.1.0",
"jest-environment-node": "^25.1.0",
"near-sdk-as": "^0.1.2",
"near-shell": "^0.20.1",
"nodemon": "^2.0.2",
"parcel-bundler": "^1.12.4",
"react-test-renderer": "^16.13.0",
"sass": "^1.26.3",
"typescript": "^3.8.3",
"as-bignum": "^0.1.5"
},
"dependencies": {
"nearlib": "^0.22.0",
"react": "^16.13.1",
"react-dom": "^16.13.0",
"regenerator-runtime": "^0.13.5"
},
"jest": {
"projects": [
{
"displayName": "User interface tests",
"testEnvironment": "jsdom",
"testMatch": ["<rootDir>/src/tests/ui/*.js"]
},
{
"displayName": "Integration tests",
"testEnvironment": "near-shell/test_environment",
"testMatch": ["<rootDir>/src/tests/integration/*.js"]
}
],
"testPathIgnorePatterns": [
"assembly/*"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}