|
@@ -26,13 +26,22 @@
|
|
"lib": "lib/"
|
|
"lib": "lib/"
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
- "build": "tsc",
|
|
|
|
- "clean": "rimraf lib",
|
|
|
|
|
|
+ "build": "tsc -b",
|
|
|
|
+ "build:test": "tsc --build tsconfig.test.json",
|
|
|
|
+ "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
|
"prepublishOnly": "npm run build",
|
|
"prepublishOnly": "npm run build",
|
|
- "watch": "tsc -w --listEmittedFiles"
|
|
|
|
|
|
+ "test": "jest",
|
|
|
|
+ "test:cov": "jest --collect-coverage",
|
|
|
|
+ "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
|
|
+ "test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
|
|
|
|
+ "watch": "tsc -b --watch"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
|
|
+ "@jupyterlab/testutils": "^2.1.0",
|
|
|
|
+ "@types/jest": "^24.0.23",
|
|
|
|
+ "jest": "^25.2.3",
|
|
"rimraf": "~3.0.0",
|
|
"rimraf": "~3.0.0",
|
|
|
|
+ "ts-jest": "^25.2.1",
|
|
"typescript": "~3.7.3"
|
|
"typescript": "~3.7.3"
|
|
},
|
|
},
|
|
"publishConfig": {
|
|
"publishConfig": {
|