-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.42 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "next-popover",
"version": "0.0.41",
"description": "A lightweight and simple popover, tooltip, dropdown library, with no other dependencies, and Typescript friendly.",
"repository": {
"type": "git",
"url": "https://github.com/lyove/next-popover"
},
"homepage": "https://lyove.github.io/next_popover",
"author": "lyove",
"type": "module",
"files": [
"dist"
],
"main": "./dist/popover.es.js",
"exports": {
".": {
"import": "./dist/popover.es.js",
"require": "./dist/popover.umd.js"
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"license": "MIT",
"keywords": [
"popover",
"popover.js",
"popup",
"popup.js",
"next-popover",
"dropdown",
"dialog",
"overlay",
"tooltip"
],
"scripts": {
"dev": "vite --open --mode dev",
"build": "tsc && vite build --mode build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --coverage",
"eslint": "eslint . --ext .js,.cjs,.ts,.jsx,.tsx, --quiet --fix --ignore-path ./.gitignore",
"prettier": "prettier . --loglevel warn --write './**/*.{js,jsx,ts,tsx,css,html,json}'",
"stylelint": "stylelint ./**/*.{css,less,scss,sass} --fix",
"prepare": "git init && husky install"
},
"devDependencies": {
"@types/jest": "^29.2.5",
"@types/jsdom": "^20.0.1",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"dts-bundle-generator": "^8.0.1",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.3.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.3",
"sass": "^1.66.1",
"stylelint": "^14.16.1",
"stylelint-config-recommended": "^9.0.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"vite": "^4.5.0",
"vite-plugin-banner": "^0.7.0",
"vite-plugin-dts": "^2.3.0"
},
"dependencies": {},
"lint-staged": {
"./**/*.{js,cjs,ts,jsx,tsx}": [
"eslint --fix --ignore-path ./.gitignore"
],
"./**/*.{css,less,scss,sass}": [
"stylelint --fix"
],
"./**/*.{js,cjs,ts,css,scss,sass,html,json,md}": [
"prettier . --loglevel warn --write "
]
}
}