Skip to content

Commit

Permalink
fix(exports): remove build step
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Feb 5, 2021
1 parent 3bc6328 commit 48ca8db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function hypostyle (theme = {}, config = {}) {
variants: {},
...theme
}

const addons = [cache, nesting, keyframes, rule, globalAddon, hydrate].concat(
config.addons || []
)
Expand Down
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,17 @@
"name": "hypostyle",
"version": "0.1.0",
"description": "",
"source": "index.js",
"main": "dist/hypostyle.js",
"module": "./dist/hypostyle.module.js",
"unpkg": "./dist/hypostyle.umd.js",
"main": "index.js",
"files": [
"dist",
"index.js",
"utils",
"presets"
],
"scripts": {
"test": "node -r esm test",
"test:watch": "nodemon -r esm test",
"format": "prettier-standard --format",
"lint": "prettier-standard --lint",
"build": "microbundle build"
"lint": "prettier-standard --lint"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 48ca8db

Please sign in to comment.