kopia lustrzana https://github.com/drastus/sejm-calculator
Use TypeScript in Webpack config
rodzic
2f0022e065
commit
fbd4efdd03
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"plugins": {
|
||||
"postcss-import": {},
|
||||
"postcss-preset-env": {
|
||||
"browsers": "last 2 versions"
|
||||
},
|
||||
"cssnano": {}
|
||||
}
|
||||
}
|
Plik diff jest za duży
Load Diff
17
package.json
17
package.json
|
@ -16,13 +16,22 @@
|
|||
"poland"
|
||||
],
|
||||
"author": "Michał Górny",
|
||||
"dependencies": {
|
||||
"chartist": "^0.11.4",
|
||||
"modern-normalize": "^0.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"@babel/preset-typescript": "^7.12.1",
|
||||
"@babel/register": "^7.12.1",
|
||||
"@types/chartist": "^0.9.46",
|
||||
"@types/html-webpack-plugin": "^3.2.5",
|
||||
"@types/mini-css-extract-plugin": "^1.4.3",
|
||||
"@types/pug": "^2.0.4",
|
||||
"@types/webpack": "^4.41.29",
|
||||
"@types/webpack-dev-server": "^3.11.4",
|
||||
"@types/webpack-livereload-plugin": "^2.3.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.6.1",
|
||||
"@typescript-eslint/parser": "^4.6.1",
|
||||
"babel-loader": "^8.1.0",
|
||||
|
@ -31,11 +40,11 @@
|
|||
"eslint": "^7.11.0",
|
||||
"eslint-config-airbnb-base": "^14.2.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-webpack-plugin": "^2.1.0",
|
||||
"eslint-webpack-plugin": "^2.5.4",
|
||||
"gh-pages": "^2.1.1",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"mini-css-extract-plugin": "^1.2.1",
|
||||
"postcss": "^8.2.10",
|
||||
"postcss": "^8.2.15",
|
||||
"postcss-import": "^12.0.1",
|
||||
"postcss-loader": "^4.0.4",
|
||||
"postcss-preset-env": "^6.7.0",
|
||||
|
@ -49,9 +58,5 @@
|
|||
"webpack-cli": "^3.3.12",
|
||||
"webpack-dev-server": "^3.11.0",
|
||||
"webpack-livereload-plugin": "^2.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"chartist": "^0.11.4",
|
||||
"modern-normalize": "^0.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
module.exports = {
|
||||
plugins: {
|
||||
'postcss-import': {},
|
||||
'postcss-preset-env': {
|
||||
browsers: 'last 2 versions',
|
||||
},
|
||||
cssnano: {},
|
||||
},
|
||||
};
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"module": "es6",
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"outDir": "./dist/",
|
||||
"removeComments": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"target": "es5"
|
||||
"target": "ES5"
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue