-
Notifications
You must be signed in to change notification settings - Fork 238
/
Copy pathpackage.json
55 lines (55 loc) · 2.13 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
{
"name": "@superfluid-finance/js-sdk",
"description": "Javascript SDK for building with Superfluid Protocol",
"version": "0.6.3",
"browser": {
"fs": false,
"path": false
},
"dependencies": {
"@superfluid-finance/metadata": "^1.5.2",
"@truffle/contract": "4.6.31",
"auto-bind": "4.0.0",
"node-fetch": "2.7.0"
},
"devDependencies": {
"@superfluid-finance/ethereum-contracts": "^1.12.1",
"chai-as-promised": "^8.0.0",
"webpack": "^5.94.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4"
},
"files": [
"src/**/*.md",
"src/**/*.d.ts",
"src/**/*.json",
"src/**/*.js",
"dist/index.js"
],
"homepage": "https://github.com/superfluid-finance/protocol-monorepo/tree/dev/packages/js-sdk#readme",
"license": "MIT",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/superfluid-finance/protocol-monorepo.git",
"directory": "packages/js-sdk"
},
"scripts": {
"dev": "nodemon -e js,ts -i build -x 'truffle test 2>&1'",
"build": "webpack",
"testenv:start": "../ethereum-contracts/test/testenv-ctl.sh start",
"testenv:stop": "../ethereum-contracts/test/testenv-ctl.sh stop",
"pretest": "{ run-s testenv:start > /dev/null& } && sleep 5",
"test": "truffle test",
"test-coverage": "nyc --reporter=html --reporter=lcov --reporter=json yarn test",
"posttest": "yarn testenv:stop",
"watch": "webpack --watch",
"stats": "webpack --profile --json > stats.json && webpack-bundle-analyzer ./stats.json",
"lint": "run-s lint:*",
"lint:js-eslint": "eslint . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'",
"lint:check-no-focused-tests": "grep -FR .only test || { echo '✔ No test is focused.';exit 0; } && { echo '✘ You have focused tests.'; exit 1; }",
"check-updates": "ncu --target minor --dep prod,dev",
"cloc": "sh tasks/cloc.sh"
},
"types": "src/index.d.ts"
}