Merge pull request #15561 from grafana/tooling/npm-scripts
@grafana/ui publishing scripts
Showing
... | ... | @@ -22,6 +22,7 @@ |
"@types/commander": "^2.12.2", | ||
"@types/d3": "^4.10.1", | ||
"@types/enzyme": "^3.1.13", | ||
"@types/inquirer": "^0.0.43", | ||
"@types/jest": "^23.3.2", | ||
"@types/jquery": "^1.10.35", | ||
"@types/node": "^8.0.31", | ||
... | ... | @@ -47,6 +48,7 @@ |
"enzyme-to-json": "^3.3.4", | ||
"es6-promise": "^3.0.2", | ||
"es6-shim": "^0.35.3", | ||
"execa": "^1.0.0", | ||
"expect.js": "~0.2.0", | ||
"expose-loader": "^0.7.3", | ||
"file-loader": "^1.1.11", | ||
... | ... | @@ -70,6 +72,7 @@ |
"html-webpack-harddisk-plugin": "^0.2.0", | ||
"html-webpack-plugin": "^3.2.0", | ||
"husky": "^1.3.1", | ||
"inquirer": "^6.2.2", | ||
"jest": "^23.6.0", | ||
"jest-date-mock": "^1.0.6", | ||
"lint-staged": "^8.1.3", | ||
... | ... | @@ -83,6 +86,7 @@ |
"node-sass": "^4.11.0", | ||
"npm": "^5.4.2", | ||
"optimize-css-assets-webpack-plugin": "^4.0.2", | ||
"ora": "^3.1.0", | ||
"phantomjs-prebuilt": "^2.1.15", | ||
"postcss-browser-reporter": "^0.5.0", | ||
"postcss-loader": "^2.0.6", | ||
... | ... | @@ -92,8 +96,10 @@ |
"react-test-renderer": "^16.5.0", | ||
"redux-mock-store": "^1.5.3", | ||
"regexp-replace-loader": "^1.0.1", | ||
"rimraf": "^2.6.3", | ||
"sass-lint": "^1.10.2", | ||
"sass-loader": "^7.0.1", | ||
"semver": "^5.6.0", | ||
"sinon": "1.17.6", | ||
"style-loader": "^0.21.0", | ||
"systemjs": "0.20.19", | ||
... | ... | @@ -129,7 +135,9 @@ |
"api-tests": "jest --notify --watch --config=tests/api/jest.js", | ||
"storybook": "cd packages/grafana-ui && yarn storybook", | ||
"themes:generate": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/generateSassVariableFiles.ts", | ||
"prettier:check": "prettier --list-different \"**/*.{ts,tsx,scss}\"" | ||
"prettier:check": "prettier --list-different \"**/*.{ts,tsx,scss}\"", | ||
"gui:build": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts --build", | ||
"gui:release": "ts-node --project ./scripts/cli/tsconfig.json ./scripts/cli/index.ts --release" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
... | ... |
packages/grafana-ui/CHANGELOG.md
0 → 100644
packages/grafana-ui/index.js
0 → 100644
{ | ||
"name": "@grafana/ui", | ||
"version": "1.0.0", | ||
"description": "", | ||
"version": "0.0.0", | ||
"description": "Grafana Components Library", | ||
"keywords": [ | ||
"typescript", | ||
"react", | ||
"react-component" | ||
], | ||
"main": "src/index.ts", | ||
"scripts": { | ||
"tslint": "tslint -c tslint.json --project tsconfig.json", | ||
"typecheck": "tsc --noEmit", | ||
"storybook": "start-storybook -p 9001 -c .storybook -s ../../public" | ||
"storybook": "start-storybook -p 9001 -c .storybook -s ../../public", | ||
"clean": "rimraf ./dist ./compiled", | ||
"build": "rollup -c rollup.config.ts" | ||
}, | ||
"author": "Grafana Labs", | ||
"license": "Apache-2.0", | ||
... | ... | @@ -53,6 +60,13 @@ |
"react-docgen-typescript-loader": "^3.0.0", | ||
"react-docgen-typescript-webpack-plugin": "^1.1.0", | ||
"react-test-renderer": "^16.7.0", | ||
"rollup": "^1.1.2", | ||
"rollup-plugin-commonjs": "^9.2.0", | ||
"rollup-plugin-node-resolve": "^4.0.0", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"rollup-plugin-terser": "^4.0.4", | ||
"rollup-plugin-typescript2": "^0.19.2", | ||
"rollup-plugin-visualizer": "^0.9.2", | ||
"typescript": "^3.2.2" | ||
}, | ||
"resolutions": { | ||
... | ... |
packages/grafana-ui/rollup.config.ts
0 → 100644
packages/grafana-ui/src/themes/getTheme.ts
0 → 100644
packages/grafana-ui/tsconfig.build.json
0 → 100644
scripts/cli/index.d.ts
0 → 100644
scripts/cli/tasks/grafanaui.build.ts
0 → 100644
scripts/cli/tasks/grafanaui.release.ts
0 → 100644
scripts/cli/utils/cwd.ts
0 → 100644
scripts/cli/utils/execTask.ts
0 → 100644
scripts/cli/utils/startSpinner.ts
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment