mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-11-05 04:33:24 +01:00
added config for local dependencies
This commit is contained in:
parent
13070c96e2
commit
88555cb1c0
@ -15,6 +15,15 @@ System.config({
|
||||
|
||||
System.config({
|
||||
"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-runtime": "npm:babel-runtime@5.6.20",
|
||||
"core-js": "npm:core-js@0.9.18",
|
||||
|
@ -1,6 +1,6 @@
|
||||
import $ from 'jquery';
|
||||
import Doodle3DAPI from '../src/doodle3dapi';
|
||||
import rest from '../src/restapi';
|
||||
import Doodle3DAPI from 'doodle3d-API';
|
||||
import rest from 'rest-API';
|
||||
|
||||
var api = "http://connect.doodle3d.com/api/";
|
||||
|
||||
|
19
package.json
19
package.json
@ -1,7 +1,9 @@
|
||||
{
|
||||
"jspm": {
|
||||
"main": "src/doodle3dapi.js",
|
||||
"directories": {},
|
||||
"main": "doodle3dapi.js",
|
||||
"directories": {
|
||||
"lib": "src"
|
||||
},
|
||||
"dependencies": {
|
||||
"jquery": "github:components/jquery@^2.1.4"
|
||||
},
|
||||
@ -10,16 +12,5 @@
|
||||
"babel-runtime": "npm:babel-runtime@^5.1.13",
|
||||
"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 {
|
||||
constructor (localIP) {
|
||||
|
@ -1,11 +1,11 @@
|
||||
import rest from 'src/restapi';
|
||||
import ConfigAPI from 'src/configapi';
|
||||
import InfoAPI from 'src/infoapi';
|
||||
import NetworkAPI from 'src/networkapi';
|
||||
import PrinterAPI from 'src/printerapi';
|
||||
import SketchAPI from 'src/sketchapi';
|
||||
import SystemAPI from 'src/systemapi';
|
||||
import UpdateAPI from 'src/updateapi';
|
||||
import rest from 'rest-API';
|
||||
import ConfigAPI from 'config-API';
|
||||
import InfoAPI from 'info-API';
|
||||
import NetworkAPI from 'network-API';
|
||||
import PrinterAPI from 'printer-API';
|
||||
import SketchAPI from 'sketch-API';
|
||||
import SystemAPI from 'system-API';
|
||||
import UpdateAPI from 'update-API';
|
||||
|
||||
export default class {
|
||||
constructor (localIP) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rest from 'src/restapi';
|
||||
import rest from 'rest-API';
|
||||
|
||||
export default class {
|
||||
constructor (localIP) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rest from 'src/restapi';
|
||||
import rest from 'rest-API';
|
||||
|
||||
export default class {
|
||||
constructor (localIP) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rest from 'src/restapi';
|
||||
import rest from 'rest-API';
|
||||
|
||||
export default class {
|
||||
constructor (localIP) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rest from 'src/restapi';
|
||||
import rest from 'rest-API';
|
||||
|
||||
export default class {
|
||||
constructor (localIP) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rest from 'src/restapi';
|
||||
import rest from 'rest-API';
|
||||
|
||||
export default class {
|
||||
constructor (localIP) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rest from 'src/restapi';
|
||||
import rest from 'rest-API';
|
||||
|
||||
export default class {
|
||||
constructor (localIP) {
|
||||
|
Loading…
Reference in New Issue
Block a user