tooling part 2

This commit is contained in:
safwansamsudeen 2024-11-28 15:02:27 +05:30
parent ff57ae2cb6
commit 75bf77ed5d
2 changed files with 8 additions and 4 deletions

View File

@ -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 }}

View File

@ -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"
] ]
} }