|
@@ -24,6 +24,9 @@
|
|
|
"main": "lib/index.js",
|
|
|
"types": "lib/index.d.ts",
|
|
|
"style": "style/index.css",
|
|
|
+ "directories": {
|
|
|
+ "lib": "lib/"
|
|
|
+ },
|
|
|
"files": [
|
|
|
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
|
|
|
"style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
|
|
@@ -31,10 +34,10 @@
|
|
|
],
|
|
|
"scripts": {
|
|
|
"build": "tsc -b",
|
|
|
- "clean": "rimraf lib",
|
|
|
- "precommit": "lint-staged",
|
|
|
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
|
|
+ "docs": "typedoc src",
|
|
|
"prepublishOnly": "npm run build",
|
|
|
- "watch": "tsc -w"
|
|
|
+ "watch": "tsc -b --watch"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"@jupyterlab/application": "^3.1.0-alpha.11",
|
|
@@ -49,6 +52,7 @@
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
"rimraf": "~3.0.0",
|
|
|
+ "typedoc": "~0.20.0-beta.27",
|
|
|
"typescript": "~4.1.3"
|
|
|
},
|
|
|
"publishConfig": {
|