woodpecker/web/package.json
Alex Eftimie 2139ed8973 Fix lint
2021-05-27 07:06:55 +02:00

104 lines
3.3 KiB
JSON

{
"name": "drone-ui-react",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"prebuild": "rm -rf dist/files",
"build": "cross-env NODE_ENV=production webpack",
"lint": "eslint src/",
"lesshint": "lesshint --config .lesshintrc src/",
"test": "jest",
"start": "webpack-dev-server --progress --hot --inline",
"format": "prettier --trailing-comma all --write {src/*.js,src/**/*.js,src/**/*/*.js,src/*/*/*/*.js,src/*/*/*/*/*.js,src/*/*/*/*/*/*.js,src/*/*/*/*/*/*.js,src/*/*/*/*/*/*/*.js}"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"src",
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "identity-obj-proxy",
"^react$": "preact-compat-enzyme",
"^react-dom/server$": "preact-render-to-string",
"^react-dom$": "preact-compat-enzyme",
"^react-addons-test-utils$": "preact-test-utils"
},
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
]
},
"author": "Brad Rydzewski",
"license": "Apache-2.0",
"dependencies": {
"ansi_up": "^2.0.2",
"babel-polyfill": "^6.23.0",
"baobab": "^2.4.3",
"baobab-react": "^2.1.2",
"classnames": "^2.2.5",
"drone-js": "file:./vendor/drone-js/",
"humanize-duration": "^3.10.1",
"preact": "^8.2.1",
"preact-compat": "^3.16.0",
"query-string": "^5.0.0",
"react-collapsible": "^2.6.0",
"react-router": "^4.1.2",
"react-router-dom": "^4.1.2",
"react-screen-size": "^1.0.1",
"react-timeago": "^3.4.3",
"react-title-component": "^1.0.1",
"react-transition-group": "^1.2.0",
"yarn": "^1.17.3"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^21.0.0",
"babel-loader": "^7.1.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
"babel-plugin-transform-es3-property-literals": "^6.22.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"cross-env": "^5.0.3",
"css-loader": "^0.28.4",
"dotenv": "^4.0.0",
"enzyme": "^2.9.1",
"eslint": "^4.6.1",
"eslint-config-prettier": "^2.4.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^21.0.2",
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.3.0",
"eslint-plugin-standard": "^3.0.1",
"file-loader": "^0.11.2",
"html-webpack-plugin": "^2.30.1",
"identity-obj-proxy": "^3.0.0",
"jasmine-expect": "^3.7.1",
"jest": "^21.0.1",
"jsdoc": "^3.5.4",
"less": "^2.7.2",
"less-loader": "^4.0.5",
"lesshint": "^4.1.3",
"preact-compat-enzyme": "^0.2.5",
"preact-render-to-string": "^3.6.3",
"preact-test-utils": "^0.1.3",
"prettier": "^1.6.0",
"sinon": "^3.2.1",
"sinon-chai": "^2.13.0",
"style-loader": "^0.18.2",
"url-loader": "^0.5.9",
"webpack": "^3.4.1",
"webpack-dev-server": "^2.6.1"
}
}