This repository has been archived on 2021-11-08. You can view files and clone it, but cannot push or open issues or pull requests.
svelte-sharg/package.json

62 lines
2.4 KiB
JSON

{
"name": "svelte-shark-game",
"version": "0.0.1",
"private": true,
"main": "public/",
"homepage": "https://shark.tobot.dev/",
"scripts": {
"postinstall": "yarn simple-git-hooks",
"build": "yarn build:game && yarn build:pwa",
"build:game": "rollup -c rollup.config.mjs",
"build:pwa": "rollup -c pwa.rollup.config.mjs",
"dev": "yarn build:game -w",
"dev:pwa": "yarn build:pwa -w",
"start": "sirv public --no-clear",
"preview": "yarn build && yarn start",
"type-check": "yarn type-check:game && yarn type-check:pwa",
"type-check:game": "svelte-check --tsconfig ./tsconfig.json",
"type-check:pwa": "svelte-check --tsconfig ./src/pwa/tsconfig.json",
"lint": "yarn lint:prettier && yarn lint:eslint",
"lint:prettier": "pretty-quick --ignore-path .gitignore --check --plugin-search-dir=. .",
"lint:prettier:all": "prettier --ignore-path .gitignore --check --plugin-search-dir=. .",
"lint:eslint": "eslint --ignore-path .gitignore ./src/",
"fix": "yarn fix:prettier",
"fix:prettier": "pretty-quick --ignore-path .gitignore --write --plugin-search-dir=. .",
"fix:prettier:all": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
"fix:eslint": "eslint --fix --ignore-path .gitignore ./src/",
"test": "yarn lint:prettier:all && yarn lint:eslint --max-warnings=0 && yarn type-check"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-typescript": "^8.0.0",
"@tsconfig/svelte": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"autoprefixer": "^10.3.6",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-svelte3": "^3.2.1",
"postcss": "^8.3.8",
"prettier": "^2.4.1",
"prettier-plugin-svelte": "^2.4.0",
"pretty-quick": "^3.1.1",
"rollup": "^2.3.4",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-scss": "^3.0.0",
"rollup-plugin-svelte": "^7.0.0",
"rollup-plugin-terser": "^7.0.0",
"sass": "^1.42.1",
"simple-git-hooks": "^2.6.1",
"sirv-cli": "^1.0.0",
"svelte": "^3.43.1",
"svelte-check": "^2.0.0",
"svelte-modals": "^1.0.4",
"svelte-preprocess": "^4.9.7",
"tslib": "^2.0.0",
"typescript": "^4.0.0"
},
"simple-git-hooks": {
"pre-commit": "yarn test"
}
}