* Use lib for typing tests instead copied types * add jwt utils * Add autosending * fix * tests * remove atob and fix tests
122 lines
3.6 KiB
JSON
122 lines
3.6 KiB
JSON
{
|
|
"name": "remark-ui",
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"build": "webpack --mode production && es-check es5 './public/*.js'",
|
|
"start": "webpack-dev-server --mode development",
|
|
"check": "tsc -p tsconfig.json --noEmit --skipLibCheck",
|
|
"lint": "eslint --max-warnings=0 --ext=.ts,.tsx,.js,.jsx .",
|
|
"test": "jest",
|
|
"test:coverage": "jest --coverage",
|
|
"prettier": "prettier --write \"./**/*.{js,jsx,ts,tsx,scss}\""
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "./node_modules/.bin/lint-staged",
|
|
"post-commit": "git update-index --again",
|
|
"pre-push": "npm run check && npm test"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"./**/*.{ts,tsx,js,jsx}": [
|
|
"eslint --fix --max-warnings=0",
|
|
"git add"
|
|
],
|
|
"./**/*.scss": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.6.4",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
"@babel/plugin-transform-react-jsx": "^7.3.0",
|
|
"@babel/preset-env": "^7.6.3",
|
|
"@babel/preset-react": "^7.6.3",
|
|
"@types/cheerio": "^0.22.13",
|
|
"@types/core-js": "^2.5.2",
|
|
"@types/enzyme": "^3.10.4",
|
|
"@types/fetch-mock": "^7.3.1",
|
|
"@types/jest": "^24.0.20",
|
|
"@types/lodash": "^4.14.144",
|
|
"@types/node": "^12.11.7",
|
|
"@types/react-redux": "^7.1.5",
|
|
"@types/redux-mock-store": "^1.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^2.5.0",
|
|
"@typescript-eslint/parser": "^2.5.0",
|
|
"autoprefixer": "^9.7.0",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-loader": "^8.0.6",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"copy-webpack-plugin": "^5.1.1",
|
|
"css-loader": "^3.2.0",
|
|
"document-register-element": "^1.14.3",
|
|
"dotenv": "^8.2.0",
|
|
"enzyme": "^3.10.0",
|
|
"enzyme-adapter-preact-pure": "^2.2.0",
|
|
"es-check": "^5.1.0",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-prettier": "^6.5.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-prettier": "^3.1.1",
|
|
"eslint-plugin-react": "^7.16.0",
|
|
"fetch-mock": "^7.7.0",
|
|
"file-loader": "^4.2.0",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"husky": "^3.0.9",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^24.9.0",
|
|
"jest-enzyme": "^7.1.1",
|
|
"jest-extended": "^0.11.2",
|
|
"jest-localstorage-mock": "^2.4.0",
|
|
"lint-staged": "^9.4.2",
|
|
"lodash": "^4.17.15",
|
|
"mini-css-extract-plugin": "^0.8.0",
|
|
"node-fetch": "^2.6.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss-calc": "^7.0.1",
|
|
"postcss-csso": "^3.0.0",
|
|
"postcss-for": "^2.1.1",
|
|
"postcss-loader": "^3.0.0",
|
|
"postcss-nested": "^4.1.2",
|
|
"postcss-simple-vars": "^5.0.2",
|
|
"postcss-url": "^8.0.0",
|
|
"postcss-wrap": "0.0.4",
|
|
"prettier": "^1.19.1",
|
|
"redux-mock-store": "^1.5.3",
|
|
"style-loader": "^1.0.0",
|
|
"ts-jest": "^24.1.0",
|
|
"ts-loader": "^6.2.1",
|
|
"typescript": "^3.6.4",
|
|
"webpack": "^4.41.2",
|
|
"webpack-bundle-analyzer": "^3.6.0",
|
|
"webpack-cli": "^3.3.9",
|
|
"webpack-dev-server": "^3.9.0",
|
|
"whatwg-fetch": "^3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@github/markdown-toolbar-element": "^1.1.0",
|
|
"@github/text-expander-element": "^1.0.1",
|
|
"@types/classnames": "^2.2.9",
|
|
"@types/node-emoji": "^1.8.1",
|
|
"@webcomponents/custom-elements": "^1.3.0",
|
|
"bem-react-helper": "^1.1.2",
|
|
"classnames": "^2.2.6",
|
|
"core-js": "^3.2.1",
|
|
"focus-visible": "^5.0.2",
|
|
"intersection-observer": "^0.7.0",
|
|
"node-emoji": "^1.10.0",
|
|
"preact": "^10.0.1",
|
|
"react-redux": "^7.1.1",
|
|
"redux": "^4.0.4",
|
|
"redux-thunk": "^2.3.0"
|
|
},
|
|
"eslintIgnore": [
|
|
"public"
|
|
],
|
|
"engines": {
|
|
"node": ">=8"
|
|
}
|
|
}
|