60 строки
2.8 KiB
JSON
60 строки
2.8 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "lerna run build",
|
|
"prepublish": "npm run build && npm run webpackBuild",
|
|
"exampleData": "npm run build && node packages/azure-kusto-data/example.js",
|
|
"exampleIngest": "npm run build && node packages/azure-kusto-ingest/example.js",
|
|
"lint": "eslint -c .eslintrc.js --ext .ts .",
|
|
"lintFix": "eslint --fix -c .eslintrc.js --ext .ts .",
|
|
"test": "jest",
|
|
"testE2E": "npm run test -- -t \"E2E Tests\" ",
|
|
"testNoE2E": "npm run test -- --testPathIgnorePatterns /.*e2e.*/",
|
|
"testData": "npm run test -- --selectProjects azure-kusto-data",
|
|
"testIngest": "npm run test -- --selectProjects azure-kusto-ingest",
|
|
"testIngestNoE2E": "npm run testNoE2E -- --selectProjects azure-kusto-ingest",
|
|
"testPipeline": "npm run test -- --ci --reporters=default --reporters=jest-junit --coverage",
|
|
"format": "prettier --write .",
|
|
"checkFormat": "prettier --check --end-of-line lf .",
|
|
"webpack": "npm run build && shx cp index.html packages/azure-kusto-ingest/dist-esm && webpack serve --mode=development",
|
|
"webpackBuild": "webpack configtest && npm run build && shx cp index.html packages/azure-kusto-ingest/dist-esm && webpack --mode=production",
|
|
"clean": "cd packages/azure-kusto-data && npm run clean && cd ../azure-kusto-ingest && npm run clean",
|
|
"cleanModules": "rimraf node_modules && rimraf packages/azure-kusto-data/node_modules && rimraf packages/azure-kusto-ingest/node_modules && rimraf packages/quick_start/node_modules",
|
|
"bumpVersion": "lerna version --no-git-tag-version --no-push",
|
|
"bumpVersionPush": "lerna version",
|
|
"watch": "lerna exec --stream --parallel -- tsc -b -w"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.0",
|
|
"@types/node": "^16.0.0",
|
|
"@types/webpack-dev-server": "^4.7.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
|
"@typescript-eslint/parser": "^5.32.0",
|
|
"eslint": "^8.21.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-jsdoc": "^39.3.4",
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
"jest": "^29.5.0",
|
|
"jest-junit": "^15.0.0",
|
|
"lerna": "^7.4.2",
|
|
"npm": "^9.6.2",
|
|
"prettier": "^2.8.4",
|
|
"rimraf": "^3.0.2",
|
|
"shx": "^0.3.4",
|
|
"sinon": "^14.0.0",
|
|
"stream-browserify": "^3.0.0",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-loader": "^9.4.2",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.0.0",
|
|
"webpack-cli": "^5.0.1"
|
|
|
|
},
|
|
"workspaces": [
|
|
"packages/azure-kusto-data",
|
|
"packages/azure-kusto-ingest"
|
|
]
|
|
}
|