/
package.json
88 lines (88 loc) · 3.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "nbtutor",
"license": "BSD 3-Clause",
"version": "1.0.4",
"homepage": "https://github.com/lgpage/nbtutor",
"description": "Visualize Python code execution in Jupyter Notebook cells.",
"author": {
"name": "Logan Page",
"url": "https://github.com/lgpage"
},
"repository": {
"type": "git",
"url": "git://github.com/lgpage/nbtutor.git"
},
"bugs": {
"url": "https://github.com/lgpage/nbtutor/issues"
},
"chat": "https://gitter.im/lgpage/nbtutor",
"discussion": "https://groups.google.com/forum/#!forum/nbtutor",
"main": "index.js",
"dependencies": {
"d3": "~3.5.12",
"html2canvas": "^0.5.0-beta4",
"jsplumb": "^2.2.3",
"phantomjs-polyfill": "0.0.1",
"uuid": "^2.0.3"
},
"devDependencies": {
"babel": "^6.5.0",
"babel-eslint": "^7.1.0",
"babel-preset-es2015": "^6.18.0",
"babelify": "^7.3.0",
"browserify": "^13.1.1",
"casperjs": "^1.1.1",
"esdoc": "^0.4.0",
"eslint": "^3.9.0",
"jquery": "^3.1.1",
"less": "^2.7.1",
"less-plugin-autoprefix": "^1.5.1",
"less-plugin-clean-css": "^1.5.1",
"phantomjs-prebuilt": "^2.1.7",
"requirejs": "^2.3.2",
"uglifyify": "^3.0.4",
"watch": "^1.0.1"
},
"scripts": {
"all": "npm run dist && npm run lint",
"build": "python -m tools.build",
"build:deps": "python -m tools.deps",
"build:dev": "python -m tools.build dev",
"build:index": "python -m tools.index",
"build:less": "python -m tools.less",
"build:notebook": "python -m tools.notebook",
"build:release": "python -m tools.build release",
"build:requirejs": "python -m tools.requirejs",
"check": "npm run check:setup && npm run check:manifest && npm run lint && npm run check:isort",
"check:setup": "python setup.py check --strict --metadata --restructuredtext",
"check:manifest": "check-manifest .",
"check:isort": "isort --verbose --check-only --diff --recursive nbtutor setup.py docs",
"clean": "python -m tools.clean",
"docs": "npm run docs:clean && npm run docs:esdoc && npm run docs:sphinx",
"docs:clean": "rm -rf docs/api/*",
"docs:esdoc": "esdoc -c .esdoc",
"docs:spell": "export SPELLCHECK=1 && cp usage.gif docs/ && sphinx-build -b spelling docs dist/docs",
"docs:sphinx": "cp usage.gif docs/ && sphinx-build -b html docs dist/docs && sphinx-build -b linkcheck docs dist/docs",
"less": "python -m tools.less",
"lint": "npm run lint:eslint && npm run lint:flake8",
"lint:eslint": "eslint --ext es6 ./src",
"lint:flake8": "flake8 nbtutor setup.py docs",
"pkg:conda": "conda build conda.recipe -c javascript -c mutirri -c cpcloud -c anaconda-nb-extensions -c lgpage",
"pkg:pypi": "python setup.py register -r pypitest && python setup.py sdist && python setup.py bdist_wheel && python setup.py sdist upload -r pypitest && python setup.py bdist_wheel upload -r pypitest",
"pkg:pypi:release": "python setup.py register -r pypi && python setup.py sdist && python setup.py bdist_wheel && python setup.py sdist bdist_wheel upload -r pypi",
"tests": "py.test --cov --cov-report=term-missing -vv tests nbtutor",
"watch": "watch 'npm run build:dev' src",
"watch:test": "watch 'npm run test' ./nbtutor/static/nbtutor/js"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"rules": {
"strict": 0
}
}
}