Skip to content

Commit b541997

Browse files
ianhimartinRenou
authored andcommitted
clean up issues with gitignore
1 parent eff7153 commit b541997

File tree

3 files changed

+110
-97
lines changed

3 files changed

+110
-97
lines changed

.gitignore

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,20 @@ build/
55
*.py[cod]
66
node_modules/
77

8-
# Generated Javascript
9-
ipympl/nbextension/
10-
ipympl/labextension/
11-
ipympl/*.tgz
12-
js/*.tgz
13-
148
# OS X
159
.DS_Store
1610

1711
# vscode
1812
.vscode/
1913

2014
lib/
15+
2116
# NPM
2217
# ----
2318

2419
**/node_modules/
2520
ipympl/nbextension/index.*
21+
ipympl/nbextension/package.json
2622
ipympl/labextension/*.tgz
2723

2824
# Coverage data

ipympl/nbextension/extension.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Entry point for the notebook bundle containing custom model definitions.
2+
//
3+
define(function() {
4+
"use strict";
5+
6+
window['requirejs'].config({
7+
map: {
8+
'*': {
9+
'jupyter-matplotlib': 'nbextensions/ipympl/index',
10+
},
11+
}
12+
});
13+
// Export the required load_ipython_extension function
14+
return {
15+
load_ipython_extension : function() {}
16+
};
17+
});

package.json

Lines changed: 91 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,93 @@
11
{
2-
"name": "jupyter-matplotlib",
3-
"version": "0.9.0",
4-
"description": "Matplotlib Jupyter Interactive Widget",
5-
"author": "Matplotlib Development team",
6-
"license": "BSD-3-Clause",
7-
"main": "lib/index.js",
8-
"types": "./lib/index.d.ts",
9-
"files": [
10-
"lib/**/*.js",
11-
"dist/*.js",
12-
"src/**/*.css"
13-
],
14-
"repository": {
15-
"type": "git",
16-
"url": "https://github.com/matplotlib/jupyter-matplotlib.git"
17-
},
18-
"scripts": {
19-
"build": "yarn run build:lib && yarn run build:nbextension && yarn run build:labextension:dev",
20-
"build:prod": "yarn run build:lib && yarn run build:nbextension && yarn run build:labextension",
21-
"build:labextension": "jupyter labextension build .",
22-
"build:labextension:dev": "jupyter labextension build --development True .",
23-
"build:lib": "tsc",
24-
"build:nbextension": "webpack --mode=production",
25-
"clean": "yarn run clean:lib && yarn run clean:nbextension && yarn run clean:labextension",
26-
"clean:lib": "rimraf lib",
27-
"clean:labextension": "rimraf ipympl/labextension",
28-
"clean:nbextension": "rimraf ipympl/nbextension/static/index.js",
29-
"prepack": "yarn run build:lib",
30-
"test": "jest",
31-
"watch": "npm-run-all -p watch:*",
32-
"watch:lib": "tsc -w",
33-
"watch:nbextension": "webpack --watch --mode=development",
34-
"watch:labextension": "jupyter labextension watch .",
35-
"eslint": "eslint . --fix --ignore-path ../.gitignore",
36-
"eslint:check": "eslint . --ignore-path ../.gitignore",
37-
"lint": "yarn run prettier && yarn run eslint",
38-
"lint:check": "yarn run prettier:check && yarn run eslint:check",
39-
"prepublish": "yarn run clean && yarn run build",
40-
"prettier": "prettier --ignore-path ../.gitignore --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json}\"",
41-
"prettier:check": "prettier --check --ignore-path ../.gitignore \"**/*{.ts,.tsx,.js,.jsx,.css,.json}\""
42-
},
43-
"jupyterlab": {
44-
"extension": "lib/plugin",
45-
"outputDir": "ipympl/labextension/",
46-
"sharedPackages": {
47-
"@jupyter-widgets/base": {
48-
"bundled": false,
49-
"singleton": true
50-
}
51-
}
52-
},
53-
"devDependencies": {
54-
"@babel/core": "^7.5.0",
55-
"@babel/preset-env": "^7.5.0",
56-
"@jupyterlab/builder": "^3.0.0",
57-
"@phosphor/application": "^1.6.0",
58-
"@phosphor/widgets": "^1.6.0",
59-
"@types/jest": "^26.0.0",
60-
"@types/webpack-env": "^1.13.6",
61-
"@typescript-eslint/eslint-plugin": "^3.6.0",
62-
"@typescript-eslint/parser": "^3.6.0",
63-
"acorn": "^7.2.0",
64-
"css-loader": "^3.2.0",
65-
"eslint": "^7.4.0",
66-
"eslint-config-prettier": "^6.11.0",
67-
"eslint-plugin-prettier": "^3.1.4",
68-
"fs-extra": "^7.0.0",
69-
"identity-obj-proxy": "^3.0.0",
70-
"jest": "^26.0.0",
71-
"mkdirp": "^0.5.1",
72-
"npm-run-all": "^4.1.3",
73-
"prettier": "^2.0.5",
74-
"rimraf": "^2.6.2",
75-
"source-map-loader": "^1.1.3",
76-
"style-loader": "^1.0.0",
77-
"ts-jest": "^26.0.0",
78-
"ts-loader": "^8.0.0",
79-
"typescript": "~4.1.3",
80-
"webpack": "^5.0.0",
81-
"webpack-cli": "^4.0.0"
82-
},
83-
"dependencies": {
84-
"@jupyter-widgets/base": "^2 || ^3 || ^4.0.0",
85-
"@types/node": "^14.14.35"
86-
},
87-
"keywords": [
88-
"jupyter",
89-
"jupyterlab",
90-
"jupyterlab-extension",
91-
"widgets"
92-
]
2+
"name": "jupyter-matplotlib",
3+
"version": "0.9.0",
4+
"description": "Matplotlib Jupyter Interactive Widget",
5+
"author": "Matplotlib Development team",
6+
"license": "BSD-3-Clause",
7+
"main": "lib/index.js",
8+
"types": "./lib/index.d.ts",
9+
"files": [
10+
"lib/**/*.js",
11+
"dist/*.js",
12+
"src/**/*.css"
13+
],
14+
"repository": {
15+
"type": "git",
16+
"url": "https://github.com/matplotlib/jupyter-matplotlib.git"
17+
},
18+
"scripts": {
19+
"build": "yarn run build:lib && yarn run build:nbextension && yarn run build:labextension:dev",
20+
"build:prod": "yarn run build:lib && yarn run build:nbextension && yarn run build:labextension",
21+
"build:labextension": "jupyter labextension build .",
22+
"build:labextension:dev": "jupyter labextension build --development True .",
23+
"build:lib": "tsc",
24+
"build:nbextension": "webpack --mode=production",
25+
"clean": "yarn run clean:lib && yarn run clean:nbextension && yarn run clean:labextension",
26+
"clean:lib": "rimraf lib",
27+
"clean:labextension": "rimraf ipympl/labextension",
28+
"clean:nbextension": "rimraf ipympl/nbextension/static/index.js",
29+
"prepack": "yarn run build:lib",
30+
"test": "jest",
31+
"watch": "npm-run-all -p watch:*",
32+
"watch:lib": "tsc -w",
33+
"watch:nbextension": "webpack --watch --mode=development",
34+
"watch:labextension": "jupyter labextension watch .",
35+
"eslint": "eslint . --fix --ignore-path .gitignore --ext .ts",
36+
"eslint:check": "eslint . --ignore-path .gitignore --ext .ts",
37+
"lint": "yarn run prettier && yarn run eslint",
38+
"lint:check": "yarn run prettier:check && yarn run eslint:check",
39+
"prepublish": "yarn run clean && yarn run build",
40+
"prettier": "prettier --ignore-path .gitignore --write \"**/*{.ts,.css,.json}\"",
41+
"prettier:check": "prettier --check --ignore-path .gitignore \"**/*{.ts,.css,.json}\""
42+
},
43+
"jupyterlab": {
44+
"extension": "lib/plugin",
45+
"outputDir": "ipympl/labextension/",
46+
"sharedPackages": {
47+
"@jupyter-widgets/base": {
48+
"bundled": false,
49+
"singleton": true
50+
}
51+
}
52+
},
53+
"devDependencies": {
54+
"@babel/core": "^7.5.0",
55+
"@babel/preset-env": "^7.5.0",
56+
"@jupyterlab/builder": "^3.0.0",
57+
"@phosphor/application": "^1.6.0",
58+
"@phosphor/widgets": "^1.6.0",
59+
"@types/jest": "^26.0.0",
60+
"@types/webpack-env": "^1.13.6",
61+
"@typescript-eslint/eslint-plugin": "^3.6.0",
62+
"@typescript-eslint/parser": "^3.6.0",
63+
"acorn": "^7.2.0",
64+
"css-loader": "^3.2.0",
65+
"eslint": "^7.4.0",
66+
"eslint-config-prettier": "^6.11.0",
67+
"eslint-plugin-prettier": "^3.1.4",
68+
"fs-extra": "^7.0.0",
69+
"identity-obj-proxy": "^3.0.0",
70+
"jest": "^26.0.0",
71+
"mkdirp": "^0.5.1",
72+
"npm-run-all": "^4.1.3",
73+
"prettier": "^2.0.5",
74+
"rimraf": "^2.6.2",
75+
"source-map-loader": "^1.1.3",
76+
"style-loader": "^1.0.0",
77+
"ts-jest": "^26.0.0",
78+
"ts-loader": "^8.0.0",
79+
"typescript": "~4.1.3",
80+
"webpack": "^5.0.0",
81+
"webpack-cli": "^4.0.0"
82+
},
83+
"dependencies": {
84+
"@jupyter-widgets/base": "^2 || ^3 || ^4.0.0",
85+
"@types/node": "^14.14.35"
86+
},
87+
"keywords": [
88+
"jupyter",
89+
"jupyterlab",
90+
"jupyterlab-extension",
91+
"widgets"
92+
]
9393
}

0 commit comments

Comments
 (0)