-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.64 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.64 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
84
85
86
{
"name": "content-fetch",
"version": "1.0.1",
"description": "",
"files": [
"dist/**/*",
"bundled/**/*"
],
"sideEffects": false,
"source": "src/content-fetch.js",
"main": "dist/content-fetch.js",
"umd:main": "dist/content-fetch.umd.js",
"module": "dist/content-fetch.mjs",
"types": "dist/types/content-fetch.d.ts",
"exports": {
"require": "./dist/content-fetch.js",
"default": "./dist/content-fetch.modern.mjs"
},
"scripts": {
"dev": "vite",
"clean": "npm-run-all --parallel clean:bundled clean:dist",
"clean:bundled": "rm -rf bundled",
"clean:dist": "rm -rf dist",
"prepublishOnly": "npm version patch",
"postpublish": "git push --follow-tags",
"preversion": "npm run build",
"build": "npm-run-all --parallel clean build:dist build:bundle build:types",
"build:types": "tsc --allowJs -d --emitDeclarationOnly --declarationDir ./dist/types --removeComments ./src/index.js",
"build:dist": "microbundle build -i src/ --o ./dist",
"build:bundle": "npm-run-all build:bundle-full build:bundle-min",
"build:bundle-full": "microbundle build -i src/ --o ./bundled/index.js --no-sourcemap --no-pkg-main --external none --name content-fetch --format umd --no-compress",
"build:bundle-min": "microbundle build -i src/ --o ./bundled/index.min.js --no-sourcemap --no-pkg-main --external none --name content-fetch --format umd",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/coderesolution/content-fetch.git"
},
"keywords": [],
"author": "@coderesolution",
"license": "ISC",
"bugs": {
"url": "https://github.com/coderesolution/content-fetch/issues"
},
"homepage": "https://github.com/coderesolution/content-fetch#readme",
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@size-limit/preset-small-lib": "^11.1.6",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"babel-jest": "^29.7.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.11.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"microbundle": "^0.15.1",
"micromatch": "^4.0.8",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"rollup": "^4.24.2",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"whatwg-fetch": "^3.6.20"
},
"size-limit": [
{
"limit": "3 kB",
"path": "dist/index.js"
},
{
"limit": "2 kB",
"path": "dist/index.mjs"
}
],
"dependencies": {
"dompurify": "^3.1.7"
}
}