-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
57 lines (57 loc) · 1.49 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
{
"name": "@psychedelic/cap-js",
"version": "0.0.8",
"description": "Cap client library",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"browser": "dist/index.js",
"author": "b0xtch",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git@github.com:Psychedelic/cap-js.git"
},
"keywords": [],
"scripts": {
"build": "tsc -b tsconfig.json",
"prepublish": "yarn build",
"typecheck": "tsc --noEmit",
"test": "cross-env NODE_ENV=dev jest",
"lint": "eslint src --ext ts",
"lint:fix": "eslint src --fix --ext ts && prettier --write \"./src/**/*.{ts,tsx,js,jsx}\"",
"format": "prettier --write \"./src/**/*.{ts,tsx,js,jsx}\"",
"format:check": "prettier --check \"./src/**/*.{ts,tsx,js,jsx}\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"dependencies": {
"@dfinity/agent": "^0.10.1",
"@dfinity/candid": "^0.10.1",
"@dfinity/principal": "^0.10.1",
"axios": "^0.24.0",
"cross-fetch": "^3.1.4"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.2.4",
"prettier": "^2.4.1",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
}
}