-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
66 lines (66 loc) · 1.78 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
{
"name": "@cosmicjs/sdk",
"version": "1.3.1",
"description": "The official client module for Cosmic. This module helps you easily add dynamic content to your website or application using the Cosmic headless CMS.",
"keywords": [
"headlesscms",
"cms",
"node",
"content",
"api",
"react",
"reactjs",
"vue",
"vuejs",
"nextjs"
],
"homepage": "https://www.cosmicjs.com",
"bugs": {
"url": "https://github.com/cosmicjs/cosmic-sdk-js/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cosmicjs/cosmic-sdk-js.git"
},
"license": "MIT",
"author": "Tony Spiro <[email protected]>",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --minify",
"tsc:lint": "tsc",
"lint": "eslint --fix 'src/**/*.{ts,js}'",
"format": "prettier --write './src/**/*.{ts,js}'",
"release": "npm run build && changeset publish",
"changeset": "changeset",
"prepare": "husky install",
"prepublishOnly": "npm run build"
},
"dependencies": {
"axios": "^1.3.4",
"form-data": "^4.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@semantic-release/changelog": "^6.0.2",
"@types/node": "^18.15.5",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"eslint": "^8.36.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.6",
"tsup": "^6.7.0",
"typescript": "^5.0.2"
},
"lint-staged": {
"src/**/*.{ts,js}": [
"npx prettier --write",
"npx eslint --fix"
]
}
}