mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2025-01-03 18:13:48 +01:00
added config for local dependencies
This commit is contained in:
parent
13070c96e2
commit
88555cb1c0
@ -15,6 +15,15 @@ System.config({
|
|||||||
|
|
||||||
System.config({
|
System.config({
|
||||||
"map": {
|
"map": {
|
||||||
|
"config-API": "src/configapi",
|
||||||
|
"doodle3d-API": "src/doodle3dapi",
|
||||||
|
"info-API": "src/infoapi",
|
||||||
|
"network-API": "src/networkapi",
|
||||||
|
"printer-API": "src/printerapi",
|
||||||
|
"rest-API": "src/restapi",
|
||||||
|
"sketch-API": "src/sketchapi",
|
||||||
|
"system-API": "src/systemapi",
|
||||||
|
"update-API": "src/updateapi",
|
||||||
"babel": "npm:babel-core@5.6.20",
|
"babel": "npm:babel-core@5.6.20",
|
||||||
"babel-runtime": "npm:babel-runtime@5.6.20",
|
"babel-runtime": "npm:babel-runtime@5.6.20",
|
||||||
"core-js": "npm:core-js@0.9.18",
|
"core-js": "npm:core-js@0.9.18",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
import Doodle3DAPI from '../src/doodle3dapi';
|
import Doodle3DAPI from 'doodle3d-API';
|
||||||
import rest from '../src/restapi';
|
import rest from 'rest-API';
|
||||||
|
|
||||||
var api = "http://connect.doodle3d.com/api/";
|
var api = "http://connect.doodle3d.com/api/";
|
||||||
|
|
||||||
|
19
package.json
19
package.json
@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
"jspm": {
|
"jspm": {
|
||||||
"main": "src/doodle3dapi.js",
|
"main": "doodle3dapi.js",
|
||||||
"directories": {},
|
"directories": {
|
||||||
|
"lib": "src"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jquery": "github:components/jquery@^2.1.4"
|
"jquery": "github:components/jquery@^2.1.4"
|
||||||
},
|
},
|
||||||
@ -10,16 +12,5 @@
|
|||||||
"babel-runtime": "npm:babel-runtime@^5.1.13",
|
"babel-runtime": "npm:babel-runtime@^5.1.13",
|
||||||
"core-js": "npm:core-js@^0.9.4"
|
"core-js": "npm:core-js@^0.9.4"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"name": "Doodle3D-API",
|
|
||||||
"version": "0.0.0",
|
|
||||||
"main": "",
|
|
||||||
"directories": {
|
|
||||||
"test": "test"
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
|
||||||
},
|
|
||||||
"author": "Doodle3D",
|
|
||||||
"license": "ISC"
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import rest from 'src/restapi';
|
import rest from 'rest-API';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
constructor (localIP) {
|
constructor (localIP) {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import rest from 'src/restapi';
|
import rest from 'rest-API';
|
||||||
import ConfigAPI from 'src/configapi';
|
import ConfigAPI from 'config-API';
|
||||||
import InfoAPI from 'src/infoapi';
|
import InfoAPI from 'info-API';
|
||||||
import NetworkAPI from 'src/networkapi';
|
import NetworkAPI from 'network-API';
|
||||||
import PrinterAPI from 'src/printerapi';
|
import PrinterAPI from 'printer-API';
|
||||||
import SketchAPI from 'src/sketchapi';
|
import SketchAPI from 'sketch-API';
|
||||||
import SystemAPI from 'src/systemapi';
|
import SystemAPI from 'system-API';
|
||||||
import UpdateAPI from 'src/updateapi';
|
import UpdateAPI from 'update-API';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
constructor (localIP) {
|
constructor (localIP) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import rest from 'src/restapi';
|
import rest from 'rest-API';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
constructor (localIP) {
|
constructor (localIP) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import rest from 'src/restapi';
|
import rest from 'rest-API';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
constructor (localIP) {
|
constructor (localIP) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import rest from 'src/restapi';
|
import rest from 'rest-API';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
constructor (localIP) {
|
constructor (localIP) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import rest from 'src/restapi';
|
import rest from 'rest-API';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
constructor (localIP) {
|
constructor (localIP) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import rest from 'src/restapi';
|
import rest from 'rest-API';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
constructor (localIP) {
|
constructor (localIP) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import rest from 'src/restapi';
|
import rest from 'rest-API';
|
||||||
|
|
||||||
export default class {
|
export default class {
|
||||||
constructor (localIP) {
|
constructor (localIP) {
|
||||||
|
Loading…
Reference in New Issue
Block a user