Moved sourcecode from `/jsoneditor` to `/src`
This commit is contained in:
parent
4eae0cff1f
commit
282dc4f7ac
|
@ -2,7 +2,7 @@ app
|
||||||
bower.json
|
bower.json
|
||||||
build
|
build
|
||||||
downloads
|
downloads
|
||||||
jsoneditor
|
src
|
||||||
misc
|
misc
|
||||||
node_modules
|
node_modules
|
||||||
test
|
test
|
||||||
|
|
|
@ -39,7 +39,7 @@ task('clear', function () {
|
||||||
*/
|
*/
|
||||||
desc('Build the library');
|
desc('Build the library');
|
||||||
task('build', ['clear'], function () {
|
task('build', ['clear'], function () {
|
||||||
var jsoneditorSrc = './jsoneditor/';
|
var jsoneditorSrc = './src/';
|
||||||
// concatenate the javascript files
|
// concatenate the javascript files
|
||||||
concat({
|
concat({
|
||||||
src: [
|
src: [
|
||||||
|
@ -122,7 +122,7 @@ task('minify', ['build'], function () {
|
||||||
minify({
|
minify({
|
||||||
src: JSONEDITOR,
|
src: JSONEDITOR,
|
||||||
dest: JSONEDITOR_MIN,
|
dest: JSONEDITOR_MIN,
|
||||||
header: read('./jsoneditor/js/header.js'),
|
header: read('./src/js/header.js'),
|
||||||
separator: '\n'
|
separator: '\n'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ download:
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
The code of the JSON Editor is located in the folder `jsoneditor`. To build
|
The code of the JSON Editor is located in the folder `src`. To build
|
||||||
jsoneditor:
|
jsoneditor:
|
||||||
|
|
||||||
- Install dependencies:
|
- Install dependencies:
|
||||||
|
@ -116,6 +116,5 @@ jsoneditor:
|
||||||
|
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
This will generate the files `jsoneditor.js`,
|
This will generate the files `jsoneditor.js`, `jsoneditor.css`, and minified
|
||||||
`jsoneditor.css`, and minified versions, and will create a folder `build`
|
versions in the root of the project.
|
||||||
containing the zipped library and the built web application.
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
@ -9,9 +9,7 @@
|
||||||
|
|
||||||
<!-- ace code editor -->
|
<!-- ace code editor -->
|
||||||
<script type="text/javascript" src="../node_modules/ace/build/src-min/ace.js"></script>
|
<script type="text/javascript" src="../node_modules/ace/build/src-min/ace.js"></script>
|
||||||
<script type="text/javascript" src="../node_modules/ace/build/src-min/mode-json.js"></script>
|
<script type="text/javascript" src="../src/js/ace/theme-jsoneditor.js"></script>
|
||||||
<script type="text/javascript" src="../node_modules/ace/build/src-min/theme-textmate.js"></script>
|
|
||||||
<script type="text/javascript" src="../jsoneditor/js/ace/theme-jsoneditor.js"></script>
|
|
||||||
|
|
||||||
<!-- json lint -->
|
<!-- json lint -->
|
||||||
<script type="text/javascript" src="../node_modules/jsonlint/lib/jsonlint.js"></script>
|
<script type="text/javascript" src="../node_modules/jsonlint/lib/jsonlint.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue