-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.64 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
{
"name": "obsize",
"version": "0.0.2",
"description": "🧐 Element size observer based on ResizeObserver",
"browser": "dist/obsize.cjs",
"module": "dist/obsize.mjs",
"types": "dist/src/index.d.ts",
"scripts": {
"build": "rollup -c rollup.config.mjs",
"lint": "npx eslint src/**",
"prettier": "npx prettier src/** --write && npx prettier __test__/** --write",
"test": "npx vitest",
"test:run": "npx vitest run",
"test:coverrage": "npx vitest --coverage",
"npm:publish": "npm run build && npm publish",
"prepare": "npx husky install"
},
"keywords": [
"resize",
"observer",
"sensor",
"resizeobserver",
"element-size"
],
"files": [
"dist"
],
"author": "Yukiniro",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Yukiniro/obsize"
},
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/plugin-transform-modules-commonjs": "^7.17.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^8.3.1",
"@yukiniro/eslint-config": "^0.0.3",
"eslint": "^8.11.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.6.0",
"prettier-eslint": "^13.0.0",
"rollup": "^3.2.2",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"tslib": "^2.3.1",
"typescript": "^4.6.4",
"vite": "^4.3.7",
"vitest": "^0.24.3"
}
}