Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,20 @@
"build:ts": "tsc --project ./tsconfig.build.json",
"clean": "rimraf .nyc_output lib coverage build .svelte-kit svelte.config-dist.js",
"pretest:base": "cross-env DEBUG=eslint-plugin-svelte*",
"test": "mocha --require ts-node/register \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"ts": "node -r esbuild-register",
"mocha": "yarn ts ./node_modules/mocha/bin/mocha.js",
"test": "yarn mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"cover": "nyc --reporter=lcov yarn test",
"debug": "mocha --require ts-node/register/transpile-only \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"debug": "yarn mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"lint": "eslint .",
"eslint-fix": "eslint . --fix",
"update": "ts-node --transpile-only ./tools/update.ts && yarn format-for-gen-file",
"update": "yarn ts ./tools/update.ts && yarn format-for-gen-file",
"format-for-gen-file": "eslint src/types-for-node.ts src/utils/rules.ts src/configs --fix",
"new": "ts-node --transpile-only ./tools/new-rule.ts",
"docs:watch": "node --experimental-loader ./svelte-kit-import-hook.mjs node_modules/@sveltejs/kit/svelte-kit.js dev",
"docs:build": "node --experimental-loader ./svelte-kit-import-hook.mjs node_modules/@sveltejs/kit/svelte-kit.js build",
"docs:preview": "node --experimental-loader ./svelte-kit-import-hook.mjs node_modules/@sveltejs/kit/svelte-kit.js preview",
"new": "yarn ts ./tools/new-rule.ts",
"svelte-kit": "node --experimental-loader ./svelte-kit-import-hook.mjs node_modules/@sveltejs/kit/svelte-kit.js",
"docs:watch": "yarn svelte-kit dev",
"docs:build": "yarn svelte-kit build",
"docs:preview": "yarn svelte-kit preview",
"preversion": "yarn test && git add .",
"version": "env-cmd -e version yarn update && git add .",
"prepublishOnly": "yarn clean && yarn build"
Expand Down Expand Up @@ -138,7 +141,6 @@
"stylus": "^0.58.0",
"svelte": "^3.46.1",
"svelte-adapter-ghpages": "0.0.2",
"ts-node": "^10.0.0",
"typescript": "^4.5.2",
"vite-plugin-svelte-md": "^0.1.3"
}
Expand Down