-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
71 lines (71 loc) · 2.29 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
67
68
69
70
71
{
"name": "inview-detection",
"version": "1.0.9",
"description": "",
"files": [
"dist/**/*",
"bundled/**/*"
],
"sideEffects": false,
"source": "src/inview-detection.js",
"main": "dist/inview-detection.js",
"umd:main": "dist/inview-detection.umd.js",
"module": "dist/inview-detection.mjs",
"types": "dist/types/inview-detection.d.ts",
"exports": {
"require": "./dist/inview-detection.js",
"default": "./dist/inview-detection.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 inview-detection --format umd --no-compress",
"build:bundle-min": "microbundle build -i src/ --o ./bundled/index.min.js --no-sourcemap --no-pkg-main --external none --name inview-detection --format umd"
},
"repository": {
"type": "git",
"url": "git+https://github.com/coderesolution/inview-detection.git"
},
"keywords": [],
"author": "@coderesolution",
"license": "ISC",
"bugs": {
"url": "https://github.com/coderesolution/inview-detection/issues"
},
"homepage": "https://github.com/coderesolution/inview-detection#readme",
"devDependencies": {
"@size-limit/preset-small-lib": "^11.1.4",
"eslint": "^9.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"vite": "^5.2.11"
},
"size-limit": [
{
"limit": "3 kB",
"path": "dist/index.js"
},
{
"limit": "2 kB",
"path": "dist/index.mjs"
}
]
}