UNPKG

sirocco-wc

Version:

Scaffolding Tool for the fusion of lit with tailwind. DRY development in the speed of light with the zero configuration build tool parcel, playwright and jest testing. jenkinsCI ready.

114 lines (113 loc) 3.03 kB
{ "name": "[NAME]", "version": "[VERSION]", "description": "[DESCRIPTION]", "author": "[AUTHOR]", "license": "[LICENSE]", "main": "[DEST]/index.js", "scripts": { "build": "yarn css:build && yarn build:bundle", "build:bundle": "parcel build --public-url ./ [MAIN]/[INDEX] --dist-dir [DEST]", "css:build": "sirocco-wc buildCss", "css:watch": "sirocco-wc watchCss", "lint": "eslint --ext .ts,.html . --ignore-path .gitignore", "prettier": "prettier \"src/main/ts/**/*.ts\" --fix --write", "mvnbuild": "yarn build", "test": "playwright test", "start": "yarn css:build && concurrently -k -r 'yarn start:server' 'yarn css:watch'", "start:server": "parcel index.html", ":add": "SWC_PREFIX=[PREFIX] sirocco-wc add" }, "dependencies": { "@fontsource/roboto": "^5.0.13", "@swc/helpers": "^0.5.11", "axios": "^1.7.2", "lit": "^3.1.4", "[SNAME]": "^[SVERSION]" }, "devDependencies": { "@open-wc/eslint-config": "^12.0.3", "@open-wc/testing": "^4.0.0", "@parcel/plugin": "^2.12.0", "@parcel/transformer-js": "^2.12.0", "@parcel/transformer-typescript-types": "2.12.0", "@playwright/test": "^1.45.1", "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^7.15.0", "@typescript-eslint/parser": "^7.15.0", "buffer": "^6.0.3", "concurrently": "^8.2.2", "escape-string-regexp": "^5.0.0", "eslint": "^9.6.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-html": "^8.1.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-lit": "^1.14.0", "eslint-plugin-lit-a11y": "^4.1.3", "eslint-plugin-no-only-tests": "^3.1.0", "eslint-plugin-prettier": "^5.1.3", "glob": "^10.4.2", "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.2.7", "parcel": "^2.12.0", "parcel-resolver-ts-base-url": "^1.3.1", "path": "^0.12.7", "prettier": "^3.3.2", "ts-jest": "^29.1.5", "typescript": "^5.5.3", "typescript-plugin-css-modules": "^5.1.0", "yarn": "^1.22.22" }, "jest": { "preset": "ts-jest" }, "eslintConfig": { "parser": "@typescript-eslint/parser", "overrides": [ { "files": [ "**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js", "**/*.spec.jsx" ], "env": { "jest": true } } ], "extends": [ "@open-wc", "prettier" ], "plugins": [ "@typescript-eslint" ], "rules": { "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": [ "off" ], "import/no-unresolved": "off", "import/extensions": "off" } }, "prettier": { "tabWidth": 2, "printWidth": 80, "singleAttributePerLine": true, "singleQuote": true, "arrowParens": "avoid" }, "lint-staged": { "[MAIN]/**/*.ts": [ "eslint --fix", "prettier --write" ] }, "browserslist": [ "Chrome > 50" ], "packageManager": "yarn@3.2.4" }