Browse Source

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

pull/2410/merge
Yoshiya Hinosawa 6 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:
path: 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:
docker:
- 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/",
"lint": "jshint --reporter=node_modules/jshint-stylish src/ spec/",
"docs": "bundle exec middleman",
"build": "npm run build:js && npm run build:css",
"build:js": "npm run build:js:rollup && npm run build:js:uglify",
"build": "run-s build:js build:css",
"build:js": "run-s build:js:rollup build:js:uglify",
"build:js:rollup": "rollup -c",
"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:min": "cleancss -o htdocs/css/c3.min.css htdocs/css/c3.css",
"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:css": "nodemon -e scss --watch src -x 'npm run build:css:sass'",
"watch:docs": "bundle exec middleman",
"test:only": "karma start karma.conf.js",
"test": "npm run build && npm run lint && karma start karma.conf.js",
"dist": "npm run build && npm run copy-to-root && npm run copy-to-docs",
"karma": "karma start karma.conf.js",
"test": "run-s build lint karma",
"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-root": "cp htdocs/{css,js}/c3.* ./",
"codecov": "codecov"
@ -69,8 +69,10 @@
"node-sass": "^4.8.3",
"node-static": "^0.7.9",
"nodemon": "^1.11.0",
"npm-run-all": "^4.1.3",
"rollup": "^0.63.0",
"rollup-plugin-babel": "^3.0.3",
"status-back": "^1.1.0",
"uglify-js": "^3.3.17",
"watchify": "^3.11.0"
},

Loading…
Cancel
Save