Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Commit

Permalink
Fixes dependencies and moves test component fixture outside of src
Browse files Browse the repository at this point in the history
  • Loading branch information
jbalsas committed Dec 7, 2017
1 parent 0dc3652 commit 4253978
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"metal-jest-serializer"
],
"testPathIgnorePatterns": [
"browserslist-config-clay-components"
"browserslist-config-clay-components",
"fixtures"
],
"transformIgnorePatterns": [
"<rootDir>.*(node_modules)(?!.*clay.*).*$"
Expand Down
8 changes: 3 additions & 5 deletions packages/clay-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,17 @@
"build": "npm run soy && webpack",
"compile": "babel -d lib/ src/ -s --ignore src/__tests__",
"prepublish": "npm run soy && npm run compile",
"soy": "metalsoy --soyDeps ../../node_modules/clay-icon/src/**/*.soy"
"soy": "metalsoy"
},
"keywords": [
"clay",
"metal"
],
"dependencies": {
"metal": "^2.14.0",
"metal-component": "^2.14.0",
"metal-dom": "^2.14.0",
"metal-soy": "^2.14.0",
"metal-state": "^2.14.0",
"metal-web-component": "^2.14.0"
"metal-state": "^2.14.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
Expand All @@ -41,7 +40,6 @@
"babel-preset-env": "^1.6.0",
"browserslist-config-clay-components": "^1.0.0-alpha.2",
"clay": "^2.0.0-beta.4",
"metal-dom": "^2.14.0",
"metal-tools-soy": "^4.2.1",
"webpack": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-component/src/__tests__/ClayComponent.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ClayComponent from '../ClayComponent';
import Soy from 'metal-soy';

import templates from '../MyComponent.soy.js';
import templates from './fixtures/MyComponent.soy.js';

/**
* My Component.
Expand Down

0 comments on commit 4253978

Please sign in to comment.