Commit b7fb4e7a authored by Jacob Kaufman's avatar Jacob Kaufman
Browse files

Fix file structure for PIP

parent fc4373cb
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
{
  "presets": ["airbnb"],
  "presets": [
    "airbnb",
    [
      "@babel/preset-env",
      {
        "modules": false
      }
    ]
  ],
  "plugins": [
    [
      "babel-plugin-import",
+6 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
    "start": "webpack-dev-server --open --config webpack.dev.js",
    "build": "webpack --config webpack.prod.js",
    "lint": "eslint --ext .js src",
    "test": "mocha --require @babel/register",
    "fix": "npm run lint -- --fix",
    "prettier-watch": "onchange '**/*.js' -- prettier --write {{changed}}",
    "generate-docs": "node_modules/.bin/jsdoc src/js/  --configure .jsdoc.json --verbose"
@@ -40,11 +41,13 @@
    "@babel/core": "^7.8.3",
    "@babel/preset-env": "^7.8.3",
    "@babel/preset-react": "^7.8.3",
    "@babel/register": "7.9.0",
    "@babel/runtime": "^7.8.3",
    "autoprefixer": "^9.7.4",
    "babel-loader": "^8.0.6",
    "babel-plugin-import": "^1.13.0",
    "babel-preset-airbnb": "^4.4.0",
    "babel-root-slash-import": "^1.1.0",
    "better-docs": "^1.4.7",
    "braintree-jsdoc-template": "^3.3.0",
    "clean-webpack-plugin": "^3.0.0",
@@ -57,6 +60,9 @@
    "html-loader": "^0.5.5",
    "html-webpack-plugin": "^3.2.0",
    "jsdoc": "^3.6.3",
    "jsdom-global": "3.0.2",
    "mocha": "^7.1.1",
    "mocha-jsdom": "^2.0.0",
    "onchange": "^6.1.0",
    "precss": "^4.0.0",
    "prettier": "^1.19.1",
+1 −1
Original line number Diff line number Diff line
import AstroMath from "./AstroMath";
import "leaflet";
import "leaflet-fullscreen";
/**
 * @class MousePosition
 * @aka L.Control.AstroMousePosition
+15 −0
Original line number Diff line number Diff line
import 'jsdom-global/register';
import '../src/js/AstroMath';





var assert = require('assert');
describe('Array', function() {
  describe('#indexOf()', function() {
    it('should return -1 when the value is not present', function(){
      assert.equal(-1, [1,2,3].indexOf(4));
    });
  });
});
 No newline at end of file
+6 −3
Original line number Diff line number Diff line
Metadata-Version: 1.0
Metadata-Version: 1.2
Name: CartoCosmos
Version: 1.3
Version: 1.0.1
Summary: Virtual planetary mapping
Home-page: https://github.com/CartoCosmos/CartoCosmos
Author: CartoComos Development Team
Author-email: UNKNOWN
Author-email: 
License: UNKNOWN
Description: CartoCosmos is a virtual planetary mapping application that allows users to create and view maps of different planetary bodies supported by USGS.
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Loading