57 lines
2.1 KiB
JSON
57 lines
2.1 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": "rollup -c rollup.config.mjs",
|
|
"dev": "yarn build -w",
|
|
"start": "sirv public --no-clear",
|
|
"preview": "yarn build && yarn start",
|
|
"check": "svelte-check --tsconfig ./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 svelte-check"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^13.0.5",
|
|
"@rollup/plugin-typescript": "^8.0.0",
|
|
"@tsconfig/svelte": "^2.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
|
"@typescript-eslint/parser": "^4.32.0",
|
|
"autoprefixer": "^10.3.6",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-simple-import-sort": "^7.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.0.0",
|
|
"svelte-check": "^2.0.0",
|
|
"svelte-preprocess": "^4.0.0",
|
|
"tslib": "^2.0.0",
|
|
"typescript": "^4.0.0"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "yarn test"
|
|
}
|
|
}
|