-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45da3ac
commit 708af33
Showing
17 changed files
with
96 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,5 @@ | ||
{ | ||
"presets": [ | ||
["es2015", { "modules": false }] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 1,4 @@ | ||
module.exports = { | ||
"src/lib/**/*": "public/assets/lib" | ||
// "path/from": "/path/to" | ||
"src/lib/**/*": "public/assets/lib" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 1,4 @@ | ||
module.exports = { | ||
src: 'src/images/*.{gif,jpg,png}', | ||
dest: 'public/assets/images' | ||
src: 'src/images/*.{gif,jpg,png}', // 読み込むイメージ | ||
dest: 'public/assets/images' // 出力先 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 1,10 @@ | ||
'use strict'; | ||
module.exports = [ | ||
{ | ||
src: 'src/sprites/icon/*.{png,gif,jpg}', | ||
destImage: 'src/images/icon.png', | ||
destCSS: 'src/sass/sprites/_icon.scss', | ||
imgPath: '../images/icon.png', | ||
padding: 2 | ||
src: 'src/sprites/icon/*.{png,gif,jpg}', // 読み込む画像 | ||
destImage: 'src/images/icon.png', // 画像出力先 | ||
destCSS: 'src/sass/sprites/_icon.scss', // CSS出力先 | ||
imgPath: '../images/icon.png', // CSS内での画像パス | ||
padding: 2 // 画像の間隔 | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 1,10 @@ | ||
import {App} from './app'; | ||
describe('app', () => { | ||
beforeEach(() => { | ||
|
||
}); | ||
it('init', () => { | ||
assert('a' === 'a'); | ||
let app = new App('myapp'); | ||
expect(app.val).toBe('myapp'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,10 @@ | ||
import {Sub} from 'sub/sub'; | ||
describe('app', () => { | ||
beforeEach(() => { | ||
|
||
}); | ||
it('init', () => { | ||
let sub = new Sub('sub'); | ||
expect(sub.val).toBe('sub'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 1,8 @@ | ||
/** | ||
* @constructor | ||
*/ | ||
class Main { | ||
export class Sub { | ||
constructor(val) { | ||
this.val = val; | ||
} | ||
} | ||
|
||
let m = new Main('main'); | ||
assert(m.val === 'main', `Init val match`); | ||
assert(m.val === 'sub', `Init val unmatch`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 8,4 @@ | |
@import 'base/base'; | ||
@import 'layout/layout'; | ||
@import 'sprites/icon'; | ||
|