mirror of
https://github.com/jlengrand/create-1.git
synced 2026-03-10 08:11:25 +00:00
59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
{
|
|
"devDependencies": {
|
|
"eslint": "^7.24.0",
|
|
"@open-wc/eslint-config": "^4.2.0",
|
|
"prettier": "^2.2.1",
|
|
"eslint-config-prettier": "^7.2.0",
|
|
"husky": "^4.3.8",
|
|
"lint-staged": "^10.5.4",
|
|
"@web/test-runner": "^0.12.20",
|
|
"@open-wc/testing": "^2.5.32",
|
|
"@web/dev-server-storybook": "^0.3.5",
|
|
"@open-wc/building-rollup": "^1.9.4",
|
|
"deepmerge": "^4.2.2",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.45.2",
|
|
"@web/dev-server": "^0.1.12"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint --ext .js,.html . --ignore-path .gitignore && prettier \"**/*.js\" --check --ignore-path .gitignore",
|
|
"format": "eslint --ext .js,.html . --fix --ignore-path .gitignore && prettier \"**/*.js\" --write --ignore-path .gitignore",
|
|
"test": "web-test-runner --coverage",
|
|
"test:watch": "web-test-runner --watch",
|
|
"storybook": "web-dev-server -c .storybook/server.mjs",
|
|
"storybook:build": "build-storybook",
|
|
"build": "rimraf dist && rollup -c rollup.config.js",
|
|
"start:build": "npm run build && web-dev-server --root-dir dist --app-index index.html --open --compatibility none",
|
|
"start": "web-dev-server"
|
|
},
|
|
"name": "scaffold-app",
|
|
"version": "0.0.0",
|
|
"description": "Webcomponent scaffold-app following open-wc recommendations",
|
|
"author": "scaffold-app",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"lit-html": "^1.3.0",
|
|
"lit-element": "^2.4.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"@open-wc/eslint-config",
|
|
"eslint-config-prettier"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
]
|
|
}
|
|
} |