Skip to content

Commit 15224ec

Browse files
committed
fix build actions
1 parent 87ab70f commit 15224ec

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
.vscode
33
scripts
44
test
5-
src
65
.npmrc
76
.travis.yml
87
.yarnrc

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ node_js:
44
dist: trusty
55
script:
66
- npm run build:storybook
7-
- npm run build
7+
- npm run build:js
88

99
deploy:
1010
- provider: pages

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@amber-ds/components",
33
"version": "0.9.0",
4-
"main": "dist/index.js",
4+
"main": "index.js",
55
"displayName": "Amber Design / Components",
66
"config": {
77
"themeColor": "#e74e0f"
@@ -21,10 +21,10 @@
2121
"create:component": "ts-node ./scripts/generator.ts",
2222
"dev": "NODE_ENV=development webpack-dev-server --hot",
2323
"start": "npm run storybook",
24-
"build:static": "NODE_ENV=production webpack",
24+
"build:js": "NODE_ENV=production webpack",
2525
"build:clean": "rm -rf ./dist",
2626
"build:storybook": "npm run build:clean && build-storybook -c .storybook -o ./dist",
27-
"build": "NODE_ENV=production npm run build:clean && npm run build:static",
27+
"build": "NODE_ENV=production npm run build:js",
2828
"deploy": "NODE_ENV=production npm run build:storybook && gh-pages -d dist",
2929
"test:unit": "NODE_ENV=test ava ./test/index.js --verbose",
3030
"test": "npm run test:unit"

0 commit comments

Comments
 (0)