Skip to content

Commit

Permalink
feat: 🎸 add postcss (#4)
Browse files Browse the repository at this point in the history
add postcss (#4)

✅ Closes: #4
  • Loading branch information
lgf-136 committed Sep 27, 2022
1 parent 7578986 commit 7cbc89a
Show file tree
Hide file tree
Showing 5 changed files with 727 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
4 changes: 4 additions & 0 deletions examples/react/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@ button:focus-visible {
background-color: #f9f9f9;
}
}

label {
user-select: none;
}
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"eslint:fix": "eslint . --ext .js,.jsx,.ts,.tsx,.vue --fix",
"stylelint": "stylelint ./**/*.{vue,css,less,scss}",
"stylelint:fix": "stylelint ./**/*.{vue,css,less,scss} --fix",
"postcss": "npx postcss ./examples/react/src/index.css --dir ./examples/react/dist/ ",
"dev:demo1": "cd projects/vite-project && pnpm install && pnpm dev",
"pull": "git pull && cd .vscode && git pull && cd .. && cd config && git pull && cd ..",
"release": "standard-version"
Expand All @@ -23,6 +24,7 @@
"@commitlint/config-conventional": "^17.1.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"autoprefixer": "^10.4.12",
"commitlint": "^17.1.2",
"eslint": "^8.24.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
Expand All @@ -32,8 +34,12 @@
"git-cz": "^4.9.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"postcss": "^8.4.16",
"postcss-cli": "^10.0.0",
"postcss-html": "^1.5.0",
"postcss-less": "^6.0.0",
"postcss-preset-env": "^7.8.2",
"postcss-pxtorem": "^6.0.0",
"postcss-scss": "^4.0.5",
"react": "^18.2.0",
"standard-version": "^9.5.0",
Expand Down
Loading

0 comments on commit 7cbc89a

Please sign in to comment.