Skip to content

Commit

Permalink
feat: version
Browse files Browse the repository at this point in the history
  • Loading branch information
hellosean1025 committed Apr 10, 2018
1 parent 06cbc47 commit 13d149d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 253 deletions.
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
package/
src/
prd/
198 changes: 0 additions & 198 deletions dist/styles.css

This file was deleted.

23 changes: 10 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
{
"name": "json-schema-editor-visual",
"description": "json-schema-editor-visual",
"main": "index.js",
"scripts": {
"start": "ykit server -p 8082",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack",
"watch": "webpack --watch"
"version": "1.0.8",
"description": "jsonschema editor",
"main": "dist/main.js",
"license": "MIC",
"scripts":{
"start": "ykit s -p 8082",
"build": "webpack"
},
"author": "",
"license": "ISC",
"dependencies": {
"antd": "^3.1.6",
"brace": "^0.10.0",
"generate-schema": "^2.6.0",
"moox": "^1.0.2",
"react-addons-perf": "^15.4.2",
"moox": "^1.0.2",
"react-redux": "^5.0.6",
"underscore": "^1.8.3"
"underscore": "^1.8.3",
"brace": "^0.10.0"
},
"devDependencies": {
"autoprefixer": "^7.2.1",
Expand Down
21 changes: 1 addition & 20 deletions package/components/AceEditor/mockEditor.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
var ace = require('brace');
// require('brace/mode/javascript');
require('brace/mode/json');
// require('brace/mode/xml');
// require('brace/mode/html')
// require('brace/theme/xcode');


function run(options) {
var editor,
Expand Down Expand Up @@ -37,7 +34,6 @@ function run(options) {
editor.setReadOnly(true);
editor.renderer.$cursorLayer.element.style.display = "none";
}
// editor.setTheme('ace/theme/xcode');
editor.setOptions({
useWorker: true
});
Expand Down Expand Up @@ -90,19 +86,4 @@ function run(options) {
return mockEditor;
}





/**
* mockEditor({
container: 'req_body_json', //dom的id
data: that.state.req_body_json, //初始化数据
onChange: function (d) {
that.setState({
req_body_json: d.text
})
}
})
*/
module.exports = run;
22 changes: 0 additions & 22 deletions package/package.json

This file was deleted.

0 comments on commit 13d149d

Please sign in to comment.