tooling part 2
This commit is contained in:
parent
ff57ae2cb6
commit
75bf77ed5d
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -11,8 +11,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- run: yarn install
|
- run: pnpm install
|
||||||
- run: yarn prettier-check
|
- run: pnpm prettier-check
|
||||||
- uses: JS-DevTools/npm-publish@v1
|
- uses: JS-DevTools/npm-publish@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.NPM_TOKEN }}
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
@ -24,7 +24,9 @@
|
|||||||
],
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": "./dist/frappe-gantt.umd.js"
|
"require": "./dist/frappe-gantt.umd.js",
|
||||||
|
"import": "./dist/frappe-gantt.es.js",
|
||||||
|
"style": "./dist/frappe-gantt.css"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -45,12 +47,14 @@
|
|||||||
"eslint": "^9.15.0",
|
"eslint": "^9.15.0",
|
||||||
"eslint-config-prettier": "^2.9.0",
|
"eslint-config-prettier": "^2.9.0",
|
||||||
"eslint-plugin-prettier": "^2.6.0",
|
"eslint-plugin-prettier": "^2.6.0",
|
||||||
"jest": "^29.7.0",
|
|
||||||
"postcss-nesting": "^12.1.2",
|
"postcss-nesting": "^12.1.2",
|
||||||
"prettier": "3.2.5",
|
"prettier": "3.2.5",
|
||||||
"vite": "^5.2.10"
|
"vite": "^5.2.10"
|
||||||
},
|
},
|
||||||
"eslintIgnore": [
|
"eslintIgnore": [
|
||||||
"dist"
|
"dist"
|
||||||
|
],
|
||||||
|
"sideEffects": [
|
||||||
|
"*.css"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user