This repository has been archived by the owner on Dec 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
107 lines (107 loc) · 3.42 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
{
"name": "@dsnp/sdk",
"version": "3.0.3",
"description": "SDK Library for the DSNP",
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/LibertyDSNP/sdk-ts",
"license": "Apache-2.0",
"keywords": [],
"scripts": {
"build": "run-s clean typechain doc:markdown build:cjs build:package build:copy",
"build:cjs": "tsc -p tsconfig.json",
"build:package": "node scripts/package.js",
"build:copy": "cp CONTRIBUTING.md CHANGELOG.md README.md DOCS.md LICENSE ./dist && cp ./src/types/typechain/*.d.ts ./dist/types/typechain/",
"pack": "cd dist && npm pack && mv *.tgz ../",
"coverage": "jest test --runInBand --coverage --collectCoverageFrom='src/**/*.ts'",
"clean": "rm -Rf dist src/types/typechain ./*.tgz",
"doc": "rm -Rf dist/docs && npm run doc:markdown",
"doc:html": "typedoc --options ./typedoc.json --plugin none --theme default --out dist/docs",
"doc:config": "typedoc --showConfig --options ./typedoc.json --plugin none --theme default --out dist/docs",
"doc:json": "typedoc --options ./typedoc.json --json dist/docs/typedoc.json",
"doc:markdown": "typedoc --options ./typedoc.json --theme markdown --out dist/docs",
"format": "eslint \"**/*.{js,ts}\" --fix",
"lint": "eslint \"**/*.{js,ts}\"",
"prepare": "npm run typechain",
"test": "jest --runInBand",
"typechain": "rm -Rf ./src/types/typechain && typechain --target=ethers-v5 ./node_modules/@dsnp/contracts/abi/**/*.json --out-dir ./src/types/typechain",
"watch": "run-s build && run-p \"build:cjs -- -w\" \"test -- --watch\""
},
"engines": {
"node": ">=16.14.0"
},
"devDependencies": {
"@dsnp/test-generators": "^0.1.0",
"@typechain/ethers-v5": "^7.0.1",
"@types/jest": "27.0.1",
"@types/mkdirp": "^1.0.2",
"@types/request": "^2.48.7",
"@typescript-eslint/eslint-plugin": "4.29.2",
"@typescript-eslint/parser": "4.29.2",
"babel-jest": "^27.0.6",
"danger": "^10.6.6",
"dotenv": "^10.0.0 ",
"eslint": "^7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-const-case": "^1.2.2",
"eslint-plugin-jest": "24.4.0",
"eslint-plugin-jsdoc": "^36.0.7",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-tsdoc": "^0.2.14",
"jest": "27.0.6",
"jest-junit": "12.2.0",
"npm-run-all": "4.1.5",
"prettier": "2.3.2",
"stream": "^0.0.2",
"tmpl": "^1.0.5",
"ts-jest": "27.0.5",
"ts-node": "10.2.0",
"typechain": "^5.1.2",
"typedoc": "0.21.5",
"typedoc-plugin-markdown": "3.10.4",
"typescript": "4.3.5"
},
"jest": {
"setupFiles": [
"./jest.config.js"
],
"reporters": [
"default",
"jest-junit"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"testResultsProcessor": "jest-junit",
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/*.test.(ts|js)"
],
"testEnvironment": "node"
},
"jest-junit": {
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
},
"dependencies": {
"@dsnp/activity-content": "^1.0.1",
"@dsnp/contracts": "1.0.1",
"@dsnp/parquetjs": "1.2.1",
"@dsnp/test-generators": "^0.1.0",
"@ethersproject/abi": "^5.4.0",
"ethers": "^5.4.4",
"js-sha3": "^0.8.0",
"ws": "^8.1.0"
}
}