-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
76 lines (76 loc) · 2.37 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
{
"name": "near-workspaces-monorepo",
"version": "0.0.0",
"description": "Write tests in TypeScript/JavaScript to run in a controlled NEAR Sandbox local environment.",
"repository": "https://github.com/near/workspaces-js",
"author": "Near Inc (team@near.org)",
"license": "(MIT AND Apache-2.0)",
"scripts": {
"build": "yarn workspaces run build",
"clean:accounts": "ts-node packages/js/scripts/delete-accounts.ts",
"lint": "xo",
"lint:fix": "xo --fix",
"test:testnet": "yarn test:testnet:ci --verbose",
"test:testnet:ci": "yarn build && TESTNET_MASTER_ACCOUNT_ID='ro3evqruqecmi7q4uwux1651245117258' ava --config ./ava.testnet.config.cjs",
"test:sandbox": "yarn test:sandbox:ci --verbose",
"test:sandbox:ci": "yarn build && ava",
"test:sandbox:ci-with-ignore": "yarn build && ava __tests__/0* && cd examples/simple-project/ && ava && cd ../../packages/js && ava",
"test": "yarn test:sandbox && yarn test:testnet",
"prepare": "husky install",
"release": "yarn lerna publish",
"release:prerelease": "yarn release --dist-tag next",
"docs:generate": "typedoc"
},
"devDependencies": {
"@ava/typescript": "^2.0.0",
"@types/bn.js": "^5.1.0",
"@types/fs-extra": "^9.0.12",
"@types/node": "^16.4.10",
"@types/rimraf": "^3.0.1",
"ava": "^4.0.1",
"husky": "^7.0.1",
"lerna": "^5.2.0",
"ts-node": "^10.9.1",
"typedoc": "^0.24",
"typescript": "^4.7.4",
"xo": "^0.44.0"
},
"engines": {
"node": "^14.17.0 || >=16.0.0",
"npm": ">= 6.0.0"
},
"xo": {
"space": true,
"rules": {
"unicorn/prefer-node-protocol": 0,
"unicorn/prefer-module": 0,
"unicorn/no-array-callback-reference": 0,
"node/prefer-global/url": 0,
"ava/no-ignored-test-files": 0,
"@typescript-eslint/no-unsafe-return": 0
},
"ignores": [
"examples/**/*.js"
],
"overrides": [
{
"files": [
"**/__tests__/**/*.spec.ts",
"**/__tests__/**/*.ava.ts"
],
"rules": {
"@typescript-eslint/no-unsafe-assignment": 0,
"unicorn/prefer-module": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-empty-function": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0
}
}
]
},
"private": true,
"workspaces": [
"packages/js"
]
}