mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 01:42:13 +08:00
@ -1,10 +1,15 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
verbose: false,
|
verbose: true,
|
||||||
|
"globals": {
|
||||||
|
"ts-jest": {
|
||||||
|
"tsConfigFile": "tsconfig.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
"transform": {
|
"transform": {
|
||||||
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
||||||
},
|
},
|
||||||
"moduleDirectories": ["<rootDir>/node_modules", "<rootDir>/public"],
|
"moduleDirectories": ["node_modules", "public"],
|
||||||
"roots": [
|
"roots": [
|
||||||
"<rootDir>/public"
|
"<rootDir>/public"
|
||||||
],
|
],
|
||||||
|
12
package.json
12
package.json
@ -95,12 +95,12 @@
|
|||||||
"zone.js": "^0.7.2"
|
"zone.js": "^0.7.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node ./node_modules/.bin/webpack --progress --colors --config scripts/webpack/webpack.dev.js",
|
"dev": "webpack --progress --colors --config scripts/webpack/webpack.dev.js",
|
||||||
"watch": "node ./node_modules/.bin/webpack --progress --colors --watch --config scripts/webpack/webpack.dev.js",
|
"watch": "webpack --progress --colors --watch --config scripts/webpack/webpack.dev.js",
|
||||||
"build": "node ./node_modules/.bin/grunt build",
|
"build": "grunt build",
|
||||||
"test": "node ./node_modules/.bin/grunt test",
|
"test": "grunt test",
|
||||||
"test:coverage": "node ./node_modules/.bin/grunt test --coverage=true",
|
"test:coverage": "grunt test --coverage=true",
|
||||||
"lint": "node ./node_modules/.bin/tslint -c tslint.json --project tsconfig.json --type-check",
|
"lint": "tslint -c tslint.json --project tsconfig.json --type-check",
|
||||||
"karma": "node ./node_modules/grunt-cli/bin/grunt karma:dev",
|
"karma": "node ./node_modules/grunt-cli/bin/grunt karma:dev",
|
||||||
"jest": "node ./node_modules/jest-cli/bin/jest.js --notify --watch",
|
"jest": "node ./node_modules/jest-cli/bin/jest.js --notify --watch",
|
||||||
"precommit": "node ./node_modules/grunt-cli/bin/grunt precommit"
|
"precommit": "node ./node_modules/grunt-cli/bin/grunt precommit"
|
||||||
|
Reference in New Issue
Block a user