-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
18 changed files
with
9,396 additions
and
293 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
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 @@ npm-debug.log | |
demo | ||
coverage/ | ||
.opt-in | ||
dist/ |
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,31 +1,35 @@ | ||
sudo: required | ||
dist: trusty | ||
language: node_js | ||
node_js: | ||
- "8" | ||
addons: | ||
chrome: stable | ||
cache: | ||
yarn: true | ||
directories: | ||
- ~/.yarn | ||
- node_modules | ||
notifications: | ||
email: false | ||
node_js: | ||
- '6' | ||
branches: | ||
only: | ||
- master | ||
env: | ||
global: | ||
- YARN_VERSION=1.3.2 | ||
|
||
before_install: | ||
- npm i -g npm@^3.0.0 | ||
- export CHROME_BIN=/usr/bin/google-chrome | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- sudo apt-get update | ||
- sudo apt-get install -y libappindicator1 fonts-liberation | ||
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | ||
- sudo dpkg -i google-chrome*.deb | ||
before_script: | ||
- npm prune | ||
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost & | ||
- yarn global add greenkeeper-lockfile@1 | ||
- | | ||
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then | ||
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION | ||
fi | ||
before_script: greenkeeper-lockfile-update | ||
after_script: greenkeeper-lockfile-upload | ||
script: | ||
- npm run test:once | ||
- npm run check-coverage | ||
- npm run build | ||
after_success: | ||
- npm run report-coverage | ||
- npm run semantic-release | ||
- yarn test:once | ||
- yarn check-coverage | ||
after_success: | ||
- yarn report-coverage | ||
- yarn travis-deploy-once "yarn semantic-release" | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
|
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 |
---|---|---|
|
@@ -2,42 +2,45 @@ | |
"name": "sanji-rest-ui", | ||
"author": "Zack Yang <[email protected]> (https://github.com/zack9433)", | ||
"description": "sanji-rest-ui UI", | ||
"version": "0.0.0-semantic-released", | ||
"version": "0.0.0-development", | ||
"main": "dist/sanji-rest-ui.js", | ||
"config": { | ||
"ghooks": { | ||
"pre-commit": "opt --in pre-commit --exec 'npm run validate'" | ||
"pre-commit": "opt --in pre-commit --exec 'yarn validate'" | ||
}, | ||
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"scripts": { | ||
"validate": "npm run test:once && npm run check-coverage", | ||
"validate": "yarn test:once && yarn check-coverage", | ||
"test": "cross-env NODE_ENV=test BABEL_ENV=test karma start", | ||
"test:once": "cross-env BABEL_ENV=test karma start", | ||
"prebuild": "rimraf dist && mkdir dist", | ||
"build": "cross-env NODE_ENV=production webpack --config webpack.build.js --display-modules", | ||
"build": "cross-env NODE_ENV=production webpack --config webpack.build.js", | ||
"commit": "git-cz", | ||
"check-coverage": "istanbul check-coverage --statements 60 --branches 40 --functions 70 --lines 70", | ||
"report-coverage": "cat ./coverage/lcov.info | codecov", | ||
"start": "cross-env NODE_ENV=development node server/dev-server.js", | ||
"postpublish": "publish-latest", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
"prepublishOnly": "yarn build", | ||
"travis-deploy-once": "travis-deploy-once", | ||
"semantic-release": "semantic-release" | ||
}, | ||
"devDependencies": { | ||
"angular-animate": "~1.5.0", | ||
"angular-aria": "~1.5.0", | ||
"angular-material": "~1.1.0", | ||
"angular-material-icons": "~0.7.0", | ||
"angular-mocks": "~1.5.0", | ||
"angular-sanji-window": "~2.1.12", | ||
"angular": "~1.6.8", | ||
"ng-file-upload": "^12.2.13", | ||
"angular-animate": "~1.6.8", | ||
"angular-aria": "~1.6.8", | ||
"angular-material": "~1.1.6", | ||
"angular-material-icons": "~0.7.1", | ||
"angular-mocks": "~1.6.8", | ||
"angular-sanji-window": "~2.2.0", | ||
"codecov.io": "^0.1.6", | ||
"publish-latest": "~1.1.2", | ||
"sanji-common-devs-ui": "~1.0.4", | ||
"semantic-release": "^6.3.2", | ||
"svg-morpheus": "alexk111/SVG-Morpheus#v0.1.8", | ||
"toastr": "~2.1.2" | ||
"sanji-common-devs-ui": "^7.0.0", | ||
"svg-morpheus": "^0.3.0", | ||
"toastr": "~2.1.4", | ||
"travis-deploy-once": "^4.3.3", | ||
"semantic-release": "^12.2.4" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -46,13 +49,11 @@ | |
"bugs": { | ||
"url": "https://github.com/Sanji-IO/sanji-rest-ui/issues" | ||
}, | ||
"keywords": [ | ||
"sanji" | ||
], | ||
"keywords": ["sanji"], | ||
"license": "MIT", | ||
"homepage": "https://github.com/Sanji-IO/sanji-rest-ui", | ||
"dependencies": { | ||
"angular": "~1.5.0", | ||
"ng-file-upload": "~12.2.0" | ||
"peerDependencies": { | ||
"angular": ">=1.4 <1.7", | ||
"ng-file-upload": "^12.2.13" | ||
} | ||
} | ||
} |
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,3 @@ | ||
module.exports = { | ||
plugins: [require('autoprefixer')({ browsers: 'last 2 versions' })] | ||
}; |
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
Oops, something went wrong.