|
@@ -11,10 +11,10 @@
|
|
"url": "https://github.com/mol-star/mol-star-proto/issues"
|
|
"url": "https://github.com/mol-star/mol-star-proto/issues"
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
- "lint": "./node_modules/.bin/tslint src/**/*.ts",
|
|
|
|
- "build": "./node_modules/.bin/tsc",
|
|
|
|
- "watch": "./node_modules/.bin/tsc -watch",
|
|
|
|
- "test": "./node_modules/.bin/jest",
|
|
|
|
|
|
+ "lint": "tslint src/**/*.ts",
|
|
|
|
+ "build": "tsc",
|
|
|
|
+ "watch": "tsc -watch",
|
|
|
|
+ "test": "jest",
|
|
"script": "node build/node_modules/script.js"
|
|
"script": "node build/node_modules/script.js"
|
|
},
|
|
},
|
|
"jest": {
|
|
"jest": {
|
|
@@ -23,7 +23,7 @@
|
|
"js"
|
|
"js"
|
|
],
|
|
],
|
|
"transform": {
|
|
"transform": {
|
|
- "\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
|
|
|
|
+ "\\.ts$": "ts-jest"
|
|
},
|
|
},
|
|
"moduleDirectories": [
|
|
"moduleDirectories": [
|
|
"node_modules",
|
|
"node_modules",
|