@thednp/color-picker 2.0.0-alpha4 → 2.0.0-alpha6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thednp/color-picker",
3
- "version": "2.0.0-alpha4",
3
+ "version": "2.0.0-alpha6",
4
4
  "author": "thednp",
5
5
  "license": "MIT",
6
6
  "description": "🎨 Modern Color Picker Component",
@@ -8,13 +8,29 @@
8
8
  "source": "./src/ts/index.ts",
9
9
  "main": "./dist/js/color-picker.js",
10
10
  "module": "./dist/js/color-picker.mjs",
11
- "types": "./dist/js/color-picker.d.ts",
12
11
  "style": "./dist/css/color-picker.css",
13
12
  "sass": "./src/scss/color-picker.scss",
14
13
  "exports": {
15
14
  ".": {
16
15
  "require": "./dist/js/color-picker.cjs",
17
- "import": "./dist/js/color-picker.mjs"
16
+ "import": "./dist/js/color-picker.mjs",
17
+ "types": "./dist/js/color-picker.d.ts"
18
+ },
19
+ "./dist/color-picker.css": {
20
+ "import": "./dist/color-picker.css",
21
+ "require": "./dist/color-picker.css"
22
+ },
23
+ "./dist/color-picker.rtl.css": {
24
+ "import": "./dist/color-picker.rtl.css",
25
+ "require": "./dist/color-picker.rtl.css"
26
+ },
27
+ "./src/scss/color-picker.scss": {
28
+ "import": "./src/scss/color-picker.scss",
29
+ "require": "./src/scss/color-picker.scss"
30
+ },
31
+ "./src/scss/color-picker.rtl.scss": {
32
+ "import": "./src/scss/color-picker.rtl.scss",
33
+ "require": "./src/scss/color-picker.rtl.scss"
18
34
  }
19
35
  },
20
36
  "scripts": {
@@ -63,20 +79,20 @@
63
79
  "typescript"
64
80
  ],
65
81
  "dependencies": {
66
- "@thednp/color": "^1.0.7",
82
+ "@thednp/color": "^1.0.8",
67
83
  "@thednp/event-listener": "^2.0.1",
68
84
  "@thednp/shorty": "^2.0.0-alpha15"
69
85
  },
70
86
  "devDependencies": {
71
87
  "@bahmutov/cypress-esbuild-preprocessor": "^2.2.0",
72
- "@cypress/code-coverage": "^3.10.7",
88
+ "@cypress/code-coverage": "^3.10.8",
73
89
  "@types/istanbul-lib-instrument": "^1.7.4",
74
90
  "@typescript-eslint/eslint-plugin": "^5.60.1",
75
91
  "@typescript-eslint/parser": "^5.60.1",
76
92
  "cypress": "^12.16.0",
77
93
  "dts-bundle-generator": "^8.0.1",
78
- "eslint": "^8.43.0",
79
- "eslint-plugin-jsdoc": "^46.3.0",
94
+ "eslint": "^8.44.0",
95
+ "eslint-plugin-jsdoc": "^46.4.3",
80
96
  "eslint-plugin-prefer-arrow": "^1.2.3",
81
97
  "eslint-plugin-prettier": "^4.2.1",
82
98
  "istanbul-lib-coverage": "^3.2.0",
@@ -89,10 +105,10 @@
89
105
  "sass": "^1.63.6",
90
106
  "stylelint": "^15.9.0",
91
107
  "stylelint-config-standard": "^33.0.0",
92
- "stylelint-config-standard-scss": "^9.0.0",
108
+ "stylelint-config-standard-scss": "^10.0.0",
93
109
  "stylelint-order": "^6.0.3",
94
110
  "stylelint-scss": "^5.0.1",
95
- "typescript": "^5.1.3",
111
+ "typescript": "^5.1.6",
96
112
  "vite": "^4.3.9"
97
113
  }
98
114
  }
package/tsconfig.json CHANGED
@@ -2,7 +2,7 @@
2
2
  // https://janessagarrow.com/blog/typescript-and-esbuild/
3
3
  "compilerOptions": {
4
4
  "lib": ["DOM", "ESNext", "DOM.Iterable"],
5
- "types": ["vite", "vite/client", "cypress", "@thednp/shorty", "@thednp/event-listener", "@thednp/color"],
5
+ "types": ["vite", "vite/client", "@thednp/shorty", "@thednp/event-listener", "@thednp/color"],
6
6
  "rootDir": "./",
7
7
  "baseUrl": "./",
8
8
  "module": "ESNext",