-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.47 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.47 KB
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
{
"name": "@oceanprotocol/ddo-js",
"version": "0.3.0",
"repository": "https://github.com/oceanprotocol/ddo.js.git",
"author": "Ocean Protocol <devops@oceanprotocol.com>",
"license": "Apache-2.0",
"main": "./dist/ddo.cjs",
"umd:main": "./dist/ddo.umd.js",
"module": "./dist/ddo.js",
"type": "module",
"exports": {
".": {
"require": "./dist/ddo.cjs",
"import": "./dist/ddo.js"
}
},
"types": "./dist/types/index.d.ts",
"source": "./src/index.ts",
"files": [
"dist/ddo.*",
"dist/types",
"!dist/types/test"
],
"scripts": {
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx .",
"lint:fix": "eslint --ignore-path .gitignore --ext .ts,.tsx . --fix",
"generate:schemas": "node scripts/generate-schemas.js",
"prebuild": "npm run generate:schemas",
"build": "npm run clean && microbundle build --format modern,esm,cjs,umd --compress --tsconfig tsconfig.json",
"buildesm": "npm run clean && microbundle build --format esm --compress --tsconfig tsconfig.json",
"build:tsc": "tsc --sourceMap",
"clean": "rm -rf ./dist/ ./doc/ ./.nyc_output",
"mocha": "mocha --node-env=test --config .mocharc.json",
"clean-tests": "rm -rf ./dist/test",
"build-tests": "tsc --sourceMap --sourceRoot ./src/test --outDir ./dist",
"pretest:unit": "npm run generate:schemas && npm run clean-tests && npm run build-tests",
"test:unit": "npm run mocha \"./dist/test/**/*.test.js\"",
"release": "release-it --non-interactive"
},
"devDependencies": {
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@zazuko/env-node": "^3.0.0",
"@zazuko/rdf-utils-fs": "^3.3.1",
"eslint": "^8.57.0",
"eslint-config-oceanprotocol": "^2.0.3",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^4.2.1",
"microbundle": "^0.15.1",
"chai": "^5.1.2",
"mocha": "^11.0.1",
"prettier": "^2.7.1",
"release-it": "^18.1.2",
"typescript": "^5.7.2"
},
"dependencies": {
"ethers": "^6.15.0",
"jsonld": "^8.3.3",
"n3": "^1.23.1",
"rdf-literal": "^2.0.0",
"rdf-validate-shacl": "^0.5.6"
},
"release-it": {
"hooks": {
"after:bump": "npm run build"
},
"plugins": {},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"assets": [
"dist/lib.json"
]
},
"npm": {
"publish": false
}
}
}