Skip to content

Commit

Permalink
rm css src
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Jul 8, 2024
1 parent f027015 commit ef74980
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,7 @@ npm start
```sh
npm test
```
## See also
* [Custom events in Web Components](https://gomakethings.com/custom-events-in-web-components/)
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
"build-tests": "esbuild test/index.ts --target=es2020 --bundle --keep-names > test/test-bundle.js",
"test": "npm run lint && npm run build && npm run build-tests && npm run test-tape-run",
"test-tape-run": "cat test/index.html | tape-run --input=html --static=test | tap-spec",
"build-css": "postcss src/index.css --use postcss-nesting > dist/style.css",
"build-css:min": "postcss src/index.css --use cssnano postcss-nesting > dist/style.min.css",
"build-cjs": "esbuild src/*.ts --format=cjs --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.cjs --sourcemap",
"build-esm": "esbuild src/*.ts --format=esm --metafile=dist/meta.json --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --sourcemap && tsc --emitDeclarationOnly --project tsconfig.build.json --outDir dist",
"build-esm:min": "esbuild ./src/*.ts --format=esm --keep-names --bundle --tsconfig=tsconfig.build.json --minify --out-extension:.js=.min.js --outdir=./dist --sourcemap",
"build-example": "mkdir -p ./public && rm -rf ./public/* && VITE_DEBUG_MODE=staging vite --mode staging --base=\"/web-component\" build",
"build-docs": "typedoc --tsconfig tsconfig.build.json ./src/index.ts",
"build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && npm run build-esm && npm run build-esm:min && npm run build-css && npm run build-css:min",
"build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && npm run build-esm && npm run build-esm:min",
"start": "vite",
"preversion": "npm run lint",
"version": "auto-changelog -p --template keepachangelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
Expand All @@ -37,7 +35,6 @@
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-nesting": "^12.1.5",
"tap-spec": "^5.0.0",
"tape-run": "^11.0.0",
Expand Down
3 changes: 0 additions & 3 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
example-component {
background-color: red;
}

0 comments on commit ef74980

Please sign in to comment.