-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop'
- Loading branch information
Showing
34 changed files
with
5,745 additions
and
304 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
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,50 @@ | ||
::=========================================================== | ||
:: +Emoji : +Emoji development/publish environment | ||
:: HOST : https://github.com/kenshin/emoji | ||
:: Author : Kenshin<[email protected]> | ||
:: Version : 0.0.1 | ||
::=========================================================== | ||
|
||
@echo off | ||
|
||
::=========================================================== | ||
:: Initialize | ||
::=========================================================== | ||
if "%1" == "run" ( | ||
if "%2" == "develop" ( | ||
goto develop | ||
) else if "%2" == "publish" ( | ||
goto publish | ||
) else ( | ||
@echo npmw noly support command: `npmw run develop` and `npmw run publish`. | ||
goto quit | ||
) | ||
) else ( | ||
@echo npmw noly support command: `npmw run develop` and `npmw run publish`. | ||
goto quit | ||
) | ||
|
||
::=========================================================== | ||
:: develop : Development environment | ||
::=========================================================== | ||
:develop | ||
@echo webpack --devtool=source-map --progress --colors --watch | ||
set NODE_ENV=development | ||
webpack --devtool=source-map --progress --colors --watch | ||
goto quit | ||
|
||
::=========================================================== | ||
:: publish : Production environment | ||
::=========================================================== | ||
:publish | ||
@echo webpack -p --progress --colors | ||
set NODE_ENV=production | ||
webpack --progress --colors | ||
goto quit | ||
|
||
::=========================================================== | ||
:: quit : Quit batch script. | ||
::=========================================================== | ||
:quit | ||
@echo npmw batch quit. | ||
exit /b 0 |
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,21 +1,48 @@ | ||
{ | ||
"name": "emoji_project_workflow", | ||
"version": "1.0.0", | ||
"description": "+Emoji develop/deploy", | ||
"author": "Kenshin Wang <[email protected]>", | ||
"license": "MIT", | ||
"homepage": "http://ksria.com/emoji", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/kenshin/emoji.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/kenshin/emoji/issues", | ||
"email": "[email protected]" | ||
}, | ||
"engines": { | ||
"name": "emoji_project_workflow", | ||
"version": "1.0.0", | ||
"description": "+Emoji develop/deploy", | ||
"author": "Kenshin Wang <[email protected]>", | ||
"license": "MIT", | ||
"homepage": "http://ksria.com/emoji", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/kenshin/emoji.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/kenshin/emoji/issues", | ||
"email": "[email protected]" | ||
}, | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"devDependencies": {}, | ||
"dependencies": {} | ||
}, | ||
"scripts": { | ||
"develop": "NODE_ENV=development webpack --devtool=source-map --progress --colors --watch", | ||
"publish": "NODE_ENV=production webpack --progress --colors" | ||
}, | ||
"devDependencies": { | ||
"autoprefixer": "^6.7.7", | ||
"babel-core": "^6.21.0", | ||
"babel-loader": "^6.2.10", | ||
"babel-polyfill": "^6.20.0", | ||
"babel-preset-es2015": "^6.18.0", | ||
"babel-preset-react": "^6.16.0", | ||
"babel-preset-stage-0": "^6.16.0", | ||
"css-loader": "^0.26.1", | ||
"expose-loader": "^0.7.1", | ||
"file-loader": "^0.9.0", | ||
"import-postcss": "^8.0.2", | ||
"minimatch": "^3.0.4", | ||
"postcss-cssnext": "^2.10.0", | ||
"postcss-loader": "^1.3.3", | ||
"react": "0.14.8", | ||
"react-dom": "0.14.8", | ||
"style-loader": "^0.13.1", | ||
"url-loader": "^0.5.7", | ||
"webpack": "1.14.0" | ||
}, | ||
"dependencies": { | ||
"clean-webpack-plugin": "^0.1.14", | ||
"copy-webpack-plugin": "^4.0.1" | ||
} | ||
} |
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
Oops, something went wrong.