Browse Source

chore: send status back from circle ci (#2432)

pull/2410/merge
Yoshiya Hinosawa 7 years ago committed by GitHub
parent
commit
6bf1b672df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .circleci/config.yml
  2. 4110
      package-lock.json
  3. 14
      package.json

1
.circleci/config.yml

@ -21,6 +21,7 @@ jobs:
- store_artifacts: - store_artifacts:
path: htdocs path: htdocs
destination: htdocs destination: htdocs
- run: npx status-back -s -c circleci/htdocs -r c3js/c3 "preview build succes!" "https://${CIRCLE_BUILD_NUM}-11496279-gh.circle-artifacts.com/0/htdocs/index.html"
docs: docs:
docker: docker:
- image: circleci/ruby:2.4-node - image: circleci/ruby:2.4-node

4110
package-lock.json generated

File diff suppressed because it is too large Load Diff

14
package.json

@ -7,11 +7,11 @@
"start": "static -p 8080 htdocs/", "start": "static -p 8080 htdocs/",
"lint": "jshint --reporter=node_modules/jshint-stylish src/ spec/", "lint": "jshint --reporter=node_modules/jshint-stylish src/ spec/",
"docs": "bundle exec middleman", "docs": "bundle exec middleman",
"build": "npm run build:js && npm run build:css", "build": "run-s build:js build:css",
"build:js": "npm run build:js:rollup && npm run build:js:uglify", "build:js": "run-s build:js:rollup build:js:uglify",
"build:js:rollup": "rollup -c", "build:js:rollup": "rollup -c",
"build:js:uglify": "uglifyjs htdocs/js/c3.js --compress --mangle --comments -o htdocs/js/c3.min.js", "build:js:uglify": "uglifyjs htdocs/js/c3.js --compress --mangle --comments -o htdocs/js/c3.min.js",
"build:css": "npm run build:css:sass && npm run build:css:min", "build:css": "run-s build:css:sass build:css:min",
"build:css:sass": "node-sass src/scss/main.scss > htdocs/css/c3.css", "build:css:sass": "node-sass src/scss/main.scss > htdocs/css/c3.css",
"build:css:min": "cleancss -o htdocs/css/c3.min.css htdocs/css/c3.css", "build:css:min": "cleancss -o htdocs/css/c3.min.css htdocs/css/c3.css",
"build:docs": "bundle exec middleman build", "build:docs": "bundle exec middleman build",
@ -20,9 +20,9 @@
"watch:js": "nodemon -e js --watch src --ignore src/scss -x 'npm run build:js:rollup'", "watch:js": "nodemon -e js --watch src --ignore src/scss -x 'npm run build:js:rollup'",
"watch:css": "nodemon -e scss --watch src -x 'npm run build:css:sass'", "watch:css": "nodemon -e scss --watch src -x 'npm run build:css:sass'",
"watch:docs": "bundle exec middleman", "watch:docs": "bundle exec middleman",
"test:only": "karma start karma.conf.js", "karma": "karma start karma.conf.js",
"test": "npm run build && npm run lint && karma start karma.conf.js", "test": "run-s build lint karma",
"dist": "npm run build && npm run copy-to-root && npm run copy-to-docs", "dist": "run-s build copy-to-root copy-to-docs",
"copy-to-docs": "cp htdocs/js/c3.* docs/js/ && cp htdocs/css/c3.* docs/css/", "copy-to-docs": "cp htdocs/js/c3.* docs/js/ && cp htdocs/css/c3.* docs/css/",
"copy-to-root": "cp htdocs/{css,js}/c3.* ./", "copy-to-root": "cp htdocs/{css,js}/c3.* ./",
"codecov": "codecov" "codecov": "codecov"
@ -69,8 +69,10 @@
"node-sass": "^4.8.3", "node-sass": "^4.8.3",
"node-static": "^0.7.9", "node-static": "^0.7.9",
"nodemon": "^1.11.0", "nodemon": "^1.11.0",
"npm-run-all": "^4.1.3",
"rollup": "^0.63.0", "rollup": "^0.63.0",
"rollup-plugin-babel": "^3.0.3", "rollup-plugin-babel": "^3.0.3",
"status-back": "^1.1.0",
"uglify-js": "^3.3.17", "uglify-js": "^3.3.17",
"watchify": "^3.11.0" "watchify": "^3.11.0"
}, },

Loading…
Cancel
Save