Skip to content

Commit

Permalink
feat(impl): initial implementation; 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Mar 18, 2023
1 parent ba94e3a commit ad682f6
Show file tree
Hide file tree
Showing 11 changed files with 5,171 additions and 20 deletions.
12 changes: 10 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"extends": ["eslint-config-unjs"],
"rules": {}
"extends": "@antfu",
"rules": {
"curly": ["error", "multi-line", "consistent"],
"quotes": ["error", "single"],
"@typescript-eslint/ban-ts-comment": "off",
"antfu/generic-spacing": "off",
"max-statements-per-line": "off",
"@typescript-eslint/prefer-ts-expect-error": "off",
"no-console":"off"
}
}
24 changes: 15 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "packageName",
"version": "0.0.0",
"name": "sfc-composer",
"version": "0.0.1",
"description": "",
"repository": "unjs/packageName",
"repository": "tahul/sfc-composer",
"license": "MIT",
"sideEffects": false,
"type": "module",
Expand All @@ -20,23 +20,29 @@
"dist"
],
"scripts": {
"build": "unbuild",
"build": "unbuild -c build.config.ts",
"dev": "vitest dev",
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test",
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w",
"prepack": "pnpm run build",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && vitest run --coverage"
},
"dependencies": {
"magic-string": "^0.30.0"
},
"devDependencies": {
"@vitest/coverage-c8": "^0.29.1",
"changelogen": "^0.4.1",
"eslint": "^8.34.0",
"eslint-config-unjs": "^0.1.0",
"@antfu/eslint-config": "^0.35.3",
"@vitest/coverage-c8": "^0.29.2",
"@vitest/ui": "^0.29.3",
"changelogen": "^0.5.1",
"eslint": "^8.35.0",
"prettier": "^2.8.4",
"typescript": "^4.9.5",
"unbuild": "^1.1.2",
"vitest": "^0.29.1"
"vite": "^4.1.4",
"vitest": "^0.29.2",
"vue": "^3.2.47"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit ad682f6

Please sign in to comment.