mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
ebd1a0b7bf
* deps: change web build-dep from node-sass to sass https://sass-lang.com/blog/libsass-is-deprecated and dart sass is the recommended replacement. * deps: yarn upgrade-interactive * deps: update babel dep to 7.17 * deps: update eslint * deps: update prettier * deps: update svgo * deps: update webpack to 5.72.1 * deps: update webpack-bundle-analyzer to 4.5.0 * deps: update webpack-cli to 4.9.2 * deps: update webpack-dev-server from 3.11.3 to 4.9.0 * deps: replace svgo, svgo-loader, url-loader with webpack asset/inline * chore: rename "style" dir as "assets" * deps: update stylelint from 13.13.1 to 14.8.2 * deps: bump terser-webpack-plugin from 5.1.4 to 5.3.1 * deps: bump css-loader from 5.2.7 to 6.7.1 * deps: bump css-minimizer-webpack-plugin from 3.0.2 to 3.4.1 * deps: bump mini-css-extract-plugin from 1.6.2 to 2.6.0
52 lines
2 KiB
JSON
52 lines
2 KiB
JSON
{
|
|
"name": "transmission-web",
|
|
"main": "index.js",
|
|
"repository": "https://github.com/transmission/transmission",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "WEBPACK_MODE=development webpack serve --config webpack.config.js",
|
|
"build": "webpack --config webpack.config.js",
|
|
"css": "sass --no-source-map assets/css/",
|
|
"css:map": "sass assets/css/",
|
|
"lint": "run-p --silent lint:eslint lint:stylelint lint:prettier",
|
|
"lint:fix": "run-s lint:eslint:fix lint:stylelint:fix lint:prettier:fix",
|
|
"lint:eslint": "eslint src/*.js",
|
|
"lint:eslint:fix": "eslint --fix src/*.js",
|
|
"lint:prettier": "prettier --loglevel warn --check package.json public_html/index.html assets/css/*scss src/*.js",
|
|
"lint:prettier:fix": "prettier --loglevel warn -w package.json public_html/index.html assets/css/*scss src/*.js",
|
|
"lint:stylelint": "stylelint assets/css/*scss",
|
|
"lint:stylelint:fix": "stylelint --fix assets/css/*scss"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.10",
|
|
"@babel/eslint-parser": "^7.17.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
"@primer/stylelint-config": "12.5.0",
|
|
"css-loader": "^6.7.1",
|
|
"css-minimizer-webpack-plugin": "^3.4.1",
|
|
"eslint": "^8.15.0",
|
|
"eslint-plugin-sonarjs": "^0.13.0",
|
|
"eslint-plugin-unicorn": "^42.0.0",
|
|
"file-loader": "^6.2.0",
|
|
"mini-css-extract-plugin": "^2.6.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.6.2",
|
|
"sass": "^1.32.13",
|
|
"sass-loader": "^11.1.1",
|
|
"style-loader": "^2.0.0",
|
|
"stylelint": "^14.8.2",
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
"stylelint-config-sass-guidelines": "^9.0.1",
|
|
"stylelint-config-standard": "^25.0.0",
|
|
"terser-webpack-plugin": "^5.3.1",
|
|
"webpack": "^5.72.1",
|
|
"webpack-bundle-analyzer": "^4.5.0",
|
|
"webpack-cli": "^4.9.2",
|
|
"webpack-dev-server": "^4.9.0"
|
|
},
|
|
"dependencies": {
|
|
"lodash.isequal": "^4.5.0",
|
|
"package.json": "^2.0.1",
|
|
"yarn.lock": "^0.0.1-security"
|
|
}
|
|
}
|