We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exports
1 parent dfe4e32 commit baf5c93Copy full SHA for baf5c93
package.json
@@ -16,10 +16,22 @@
16
"type": "git",
17
"url": "https://github.com/Codennnn/prefer-code-style.git"
18
},
19
+ "exports": {
20
+ ".": {
21
+ "require": "./lib/index.js"
22
+ },
23
+ "./eslint": {
24
+ "require": "./lib/eslint.js"
25
26
+ "./prettier": {
27
+ "require": "./lib/prettier.js"
28
29
+ "./stylelint": {
30
+ "require": "./lib/stylelint.js"
31
+ }
32
33
"license": "MIT",
34
"author": "LeoKu <[email protected]> (https://leoku.top)",
- "type": "commonjs",
- "main": "lib/index.js",
35
"files": [
36
"lib"
37
],
pnpm-workspace.yaml
@@ -1,2 +1,3 @@
1
packages:
2
+ - '.'
3
- 'examples/*'
0 commit comments