Skip to content

Commit 87a71ed

Browse files
committed
Update
1 parent 6a7f171 commit 87a71ed

File tree

16 files changed

+20
-16
lines changed

16 files changed

+20
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules/
22
dist/
3+
built/
34
*.swp
45
*.swo
56
src/**/*.js

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
"dts": "tcm src",
99
"copy": "mkdir -p dist && cp src/index.html dist && cp src/components/0-Logo/logo.svg dist",
1010
"transpile": "tsc",
11-
"bundle": "browserify -p [css-modulesify -o dist/bundle.css src/components/App.css] -o dist/bundle.js src/index.js",
11+
"posttranspile": "cpx \"src/**/*.css\" built && cpx \"src/**/*.tsx\" built",
12+
"bundle": "browserify -p [css-modulesify -o dist/bundle.css src/components/App.css] -o dist/bundle.js built/index.js",
1213
"build": "npm run clean && npm run dts && npm run copy && npm run transpile && npm run bundle",
14+
"start": "npm run build && open dist/index.html",
1315
"deploy": "npm run build && gh-pages -d dist"
1416
},
1517
"repository": {
@@ -33,10 +35,11 @@
3335
"devDependencies": {
3436
"brfs": "git://github.com/joshwnj/brfs.git#ignore-option",
3537
"browserify": "^13.0.0",
38+
"cpx": "^1.5.0",
3639
"css-modulesify": "^0.16.1",
3740
"del": "^2.2.0",
3841
"typed-css-modules": "^0.1.6",
39-
"typescript": "^1.7.5"
42+
"typescript": "^2.0.3"
4043
},
4144
"browserify": {
4245
"transform": [

src/components/0-Logo/Logo.css.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const logo: string;
1+
export const logo: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const niceGray: string;
22
export const root: string;
3-
export const text: string;
3+
export const text: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const root: string;
1+
export const root: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const root: string;
2-
export const text: string;
2+
export const text: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const root: string;
2-
export const text: string;
2+
export const text: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const root: string;
2-
export const text: string;
2+
export const text: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const root: string;
2-
export const ball: string;
2+
export const ball: string;

src/components/App.css.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const app: string;
2-
export const hr: string;
2+
export const hr: string;

src/components/shared/Snippet/Snippet.css.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ export const output: string;
33
export const outputContent: string;
44
export const file: string;
55
export const fileName: string;
6-
export const pre: string;
6+
export const pre: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const duration: string;
1+
export const duration: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const bounceAmount: string;
22
export const bounceDuration: string;
3-
export const bounce: string;
3+
export const bounce: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const box: string;
1+
export const box: string;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const heading: string;
1+
export const heading: string;

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"module": "commonjs",
44
"target": "es5",
55
"noImplicitAny": true,
6-
"outDir": "src",
6+
"outDir": "built",
77
"rootDir": "src",
88
"sourceMap": false,
99
"jsx": "react"

0 commit comments

Comments
 (0)