-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
38 lines (38 loc) · 1.15 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
{
"name": "@api3/promise-utils",
"version": "0.4.0",
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"browser": "./build/es6/index.js",
"repository": "[email protected]:api3dao/promise-utils",
"license": "MIT",
"files": [
"build",
"src"
],
"scripts": {
"build:cjs": "yarn tsc -p tsconfig.build-cjs.json",
"build:es6": "yarn tsc -p tsconfig.build-es6.json",
"build:esm": "yarn tsc -p tsconfig.build-esm.json",
"build": "yarn clean && yarn build:cjs && yarn build:es6 && yarn build:esm",
"clean": "rm -rf build",
"lint:prettier:fix": "yarn prettier --write \"./**/*.{js,ts,md,yml}\"",
"lint:prettier": "yarn prettier --check \"./**/*.{js,ts,md,yml}\"",
"lint:tsc": "yarn tsc -p .",
"lint": "yarn lint:tsc && yarn lint:prettier",
"prepare": "husky install",
"prepublishOnly": "yarn && yarn build",
"test:watch": "jest --watch",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^28.1.7",
"husky": "^9.1.6",
"jest": "^28.1.3",
"prettier": "^3.3.3",
"ts-jest": "^28.0.8",
"type-plus": "^7.6.2",
"typescript": "^5.6.3"
},
"dependencies": {}
}