mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
### What is this PR for? Support ANSI escape code for colorizing output in browser using [ansi-up](https://github.com/drudru/ansi_up#license) This feature is written based on #2474 ### What type of PR is it? [Improvement] ### What is the Jira issue? [ZEPPELIN-2756](https://github.com/apache/zeppelin/pull/2474) ### How should this be tested? Setup ipython interpreter (or use any interpreter can return ansi escape code) ``` %python.ipython import pandas as pd df = pd.DataFrame({'id':[1,2,3], 'name': ['a', 'b', 'c']}) z.show(df) ``` ### Screenshots (if appropriate) #### Before  #### After  ### Questions: * Does the licenses files need update? - YES, updated * Is there breaking changes for older versions? - YES, all outputs will be escaped * Does this needs documentation? - NO Author: 1ambda <1amb4a@gmail.com> Closes #2510 from 1ambda/ZEPPELIN-2756/escape-ansi-code-in-browser and squashes the following commits:143fbbb8b[1ambda] chore: Add license notation for ansi up89ad7edcd[1ambda] feat: Escape ansi code
107 lines
3.6 KiB
JSON
107 lines
3.6 KiB
JSON
{
|
|
"name": "zeppelin-web",
|
|
"license": "Apache-2.0",
|
|
"version": "0.0.0",
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf dist && rimraf .tmp",
|
|
"postinstall": "bower install --silent",
|
|
"prebuild": "npm-run-all clean lint:once",
|
|
"build:dist": "npm-run-all prebuild && grunt pre-webpack-dist && webpack && grunt post-webpack-dist",
|
|
"build:ci": "npm-run-all prebuild && grunt pre-webpack-ci && webpack && grunt post-webpack-dist",
|
|
"lint:watch": "esw --watch src",
|
|
"lint:once": "eslint src",
|
|
"predev": "grunt pre-webpack-dev",
|
|
"dev:server": "webpack-dev-server --hot",
|
|
"dev:helium": "HELIUM_BUNDLE_DEV=true webpack-dev-server --hot",
|
|
"dev:watch": "grunt watch-webpack-dev",
|
|
"dev": "npm-run-all --parallel dev:server lint:watch dev:watch",
|
|
"test:watch": "karma start karma.conf.js --single-run=false",
|
|
"pree2e": "webdriver-manager update --gecko false --versions.chrome=2.30",
|
|
"e2e": "protractor protractor.conf.js",
|
|
"pretest": "npm rebuild phantomjs-prebuilt",
|
|
"test": "karma start karma.conf.js"
|
|
},
|
|
"dependencies": {
|
|
"angular-ui-grid": "^4.0.4",
|
|
"angular-viewport-watch": "github:shahata/angular-viewport-watch",
|
|
"ansi_up": "^2.0.2",
|
|
"github-markdown-css": "2.6.0",
|
|
"grunt-angular-templates": "^0.5.7",
|
|
"grunt-dom-munger": "^3.4.0",
|
|
"headroom.js": "^0.9.3",
|
|
"moment": "^2.18.1",
|
|
"moment-duration-format": "^1.3.0",
|
|
"scrollmonitor": "^1.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^6.5.4",
|
|
"babel-cli": "^6.18.0",
|
|
"babel-core": "^6.21.0",
|
|
"babel-loader": "^6.2.10",
|
|
"babel-preset-env": "^1.4.0",
|
|
"bower": "^1.8.0",
|
|
"copy-webpack-plugin": "^4.0.1",
|
|
"css-loader": "^0.26.1",
|
|
"eslint": "^3.19.0",
|
|
"eslint-config-google": "^0.7.1",
|
|
"eslint-config-standard": "^10.2.1",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"eslint-plugin-node": "^4.2.2",
|
|
"eslint-plugin-promise": "^3.5.0",
|
|
"eslint-plugin-standard": "^3.0.1",
|
|
"eslint-watch": "^3.1.0",
|
|
"express": "^4.14.0",
|
|
"extract-text-webpack-plugin": "^1.0.1",
|
|
"file-loader": "^0.9.0",
|
|
"grunt": "^0.4.1",
|
|
"grunt-cache-bust": "1.3.0",
|
|
"grunt-cli": "^0.1.13",
|
|
"grunt-concurrent": "^0.5.0",
|
|
"grunt-contrib-concat": "^0.4.0",
|
|
"grunt-contrib-copy": "^0.5.0",
|
|
"grunt-contrib-cssmin": "^0.9.0",
|
|
"grunt-contrib-htmlmin": "^0.3.0",
|
|
"grunt-contrib-uglify": "^0.4.0",
|
|
"grunt-contrib-watch": "^0.6.1",
|
|
"grunt-filerev": "^0.2.1",
|
|
"grunt-htmlhint": "^0.9.13",
|
|
"grunt-newer": "^0.7.0",
|
|
"grunt-ng-annotate": "^0.10.0",
|
|
"grunt-postcss": "^0.7.1",
|
|
"grunt-replace": "^1.0.1",
|
|
"grunt-svgmin": "^0.4.0",
|
|
"grunt-usemin": "^2.1.1",
|
|
"grunt-wiredep": "~2.0.0",
|
|
"html-webpack-plugin": "^2.24.1",
|
|
"imports-loader": "^0.7.1",
|
|
"istanbul-instrumenter-loader": "^0.2.0",
|
|
"jasmine-core": "^2.5.2",
|
|
"jasmine-spec-reporter": "^4.1.1",
|
|
"karma": "~1.3.0",
|
|
"karma-coverage": "^1.1.1",
|
|
"karma-jasmine": "~1.0.2",
|
|
"karma-phantomjs-launcher": "^1.0.4",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"karma-spec-reporter": "0.0.31",
|
|
"karma-webpack": "^1.8.1",
|
|
"load-grunt-tasks": "^0.4.0",
|
|
"ng-annotate-loader": "^0.2.0",
|
|
"npm-run-all": "^3.1.2",
|
|
"postcss-loader": "^1.2.1",
|
|
"protractor": "^5.1.2",
|
|
"raw-loader": "^0.5.1",
|
|
"rimraf": "^2.5.4",
|
|
"string-replace-webpack-plugin": "^0.1.3",
|
|
"style-loader": "^0.13.1",
|
|
"time-grunt": "^0.3.1",
|
|
"webpack": "^1.14.0",
|
|
"webpack-dev-server": "^1.16.2"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:apache/zeppelin.git"
|
|
}
|
|
}
|