mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Fix some stuff
This commit is contained in:
parent
ae8eb20bd2
commit
2effe4b442
|
@ -19,10 +19,10 @@
|
||||||
"publish": "lerna publish",
|
"publish": "lerna publish",
|
||||||
"canary": "lerna publish --canary preminor --npm-tag alpha",
|
"canary": "lerna publish --canary preminor --npm-tag alpha",
|
||||||
"next": "lerna publish --bump prerelease --npm-tag next",
|
"next": "lerna publish --bump prerelease --npm-tag next",
|
||||||
"lint": "eslint '**/*.{js,jsx}' --cache",
|
"lint": "eslint \"**/*.{js,jsx,ts,tsx}\" --cache",
|
||||||
"lint:fix": "eslint '**/*.{js,jsx}' --fix --cache",
|
"lint:fix": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --cache",
|
||||||
"lint:all": "eslint '**/*.{js,jsx}'",
|
"lint:all": "eslint \"**/*.{js,jsx,ts,tsx}\"",
|
||||||
"prettify": "prettier '**/*.{js,jsx,json,css,html,md}' --ignore-path .eslintignore --single-quote --write",
|
"prettify": "prettier \"**/*.{js,jsx,ts,tsx,json,css,html,md}\" --ignore-path .eslintignore --single-quote --write",
|
||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
"test": "jest --onlyChanged",
|
"test": "jest --onlyChanged",
|
||||||
"test:all": "jest"
|
"test:all": "jest"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"presets": [
|
"presets": [
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
"@babel/typescript",
|
"@babel/preset-typescript",
|
||||||
"@babel/preset-react"
|
"@babel/preset-react"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
|
|
@ -3,7 +3,10 @@ module.exports = {
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
tsconfigRootDir: __dirname,
|
tsconfigRootDir: __dirname,
|
||||||
project: ['./tsconfig.json']
|
project: ['./tsconfig.json'],
|
||||||
|
ecmaFeatures: {
|
||||||
|
jsx: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
plugins: ['@typescript-eslint', 'react'],
|
plugins: ['@typescript-eslint', 'react'],
|
||||||
extends: [
|
extends: [
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
|
"build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
|
||||||
"build:umd": "rimraf ./umd && webpack --progress --config webpack.config.umd.js",
|
"build:umd": "rimraf ./umd && webpack --progress --config webpack.config.umd.js",
|
||||||
"build:umd:min": "webpack --env.minimize --progress --config webpack.config.umd.js",
|
"build:umd:min": "webpack --env.minimize --progress --config webpack.config.umd.js",
|
||||||
"lint": "eslint . --ext .ts,.tsx",
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
||||||
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"prepare": "npm run build",
|
"prepare": "npm run build",
|
||||||
"prepublishOnly": "npm run test && npm run clean && npm run build && npm run build:umd && npm run build:umd:min",
|
"prepublishOnly": "npm run test && npm run clean && npm run build && npm run build:umd && npm run build:umd:min",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user