[d565449] | 1 | {
|
---|
| 2 | "name": "react-tiles-dnd",
|
---|
| 3 | "version": "0.1.2",
|
---|
| 4 | "author": "Marco Romagnuolo",
|
---|
| 5 | "license": "MIT",
|
---|
| 6 | "repository": "marcoromag/react-tiles-dnd",
|
---|
| 7 | "main": "esm/index.js",
|
---|
| 8 | "module": "esm/index.js",
|
---|
| 9 | "source": "src/index.ts",
|
---|
| 10 | "typings": "esm/types/index.d.ts",
|
---|
| 11 | "files": [
|
---|
| 12 | "esm/**"
|
---|
| 13 | ],
|
---|
| 14 | "scripts": {
|
---|
| 15 | "build": "NODE_ENV=production rollup -c",
|
---|
| 16 | "start": "rollup -c -w",
|
---|
| 17 | "test": "jest",
|
---|
| 18 | "storybook": "start-storybook -p 6006",
|
---|
| 19 | "build-storybook": "build-storybook"
|
---|
| 20 | },
|
---|
| 21 | "eslintConfig": {
|
---|
| 22 | "extends": [
|
---|
| 23 | "react-app",
|
---|
| 24 | "react-app/jest"
|
---|
| 25 | ]
|
---|
| 26 | },
|
---|
| 27 | "browserslist": {
|
---|
| 28 | "production": [
|
---|
| 29 | ">0.2%",
|
---|
| 30 | "not dead",
|
---|
| 31 | "not op_mini all"
|
---|
| 32 | ],
|
---|
| 33 | "development": [
|
---|
| 34 | ">0.2%",
|
---|
| 35 | "last 1 chrome version",
|
---|
| 36 | "last 1 firefox version",
|
---|
| 37 | "last 1 safari version"
|
---|
| 38 | ]
|
---|
| 39 | },
|
---|
| 40 | "devDependencies": {
|
---|
| 41 | "@babel/cli": "^7.13.10",
|
---|
| 42 | "@babel/core": "^7.13.10",
|
---|
| 43 | "@babel/plugin-syntax-flow": "^7.14.5",
|
---|
| 44 | "@babel/plugin-transform-runtime": "^7.14.5",
|
---|
| 45 | "@babel/preset-env": "^7.13.10",
|
---|
| 46 | "@babel/preset-flow": "^7.14.5",
|
---|
| 47 | "@babel/preset-react": "^7.12.13",
|
---|
| 48 | "@babel/preset-typescript": "^7.15.0",
|
---|
| 49 | "@rollup/plugin-babel": "^5.3.0",
|
---|
| 50 | "@rollup/plugin-eslint": "^8.0.1",
|
---|
| 51 | "@rollup/plugin-node-resolve": "^13.0.2",
|
---|
| 52 | "@rollup/plugin-typescript": "^8.2.0",
|
---|
| 53 | "@storybook/addon-actions": "^6.3.6",
|
---|
| 54 | "@storybook/addon-essentials": "^6.3.6",
|
---|
| 55 | "@storybook/addon-links": "^6.3.6",
|
---|
| 56 | "@storybook/react": "^6.3.6",
|
---|
| 57 | "@types/jest": "^26.0.24",
|
---|
| 58 | "@types/lodash-es": "^4.17.4",
|
---|
| 59 | "@types/react": "^17.0.3",
|
---|
| 60 | "@types/react-dom": "^17.0.3",
|
---|
| 61 | "@typescript-eslint/eslint-plugin": "^4.18.0",
|
---|
| 62 | "@typescript-eslint/parser": "^4.18.0",
|
---|
| 63 | "autoprefixer": "^10.0.0",
|
---|
| 64 | "babel-eslint": "^10.1.0",
|
---|
| 65 | "babel-loader": "^8.2.2",
|
---|
| 66 | "cssnano": "^4.1.11",
|
---|
| 67 | "eslint": "^7.22.0",
|
---|
| 68 | "eslint-config-react-app": "^6.0.0",
|
---|
| 69 | "eslint-plugin-flowtype": "^5.4.0",
|
---|
| 70 | "eslint-plugin-import": "^2.22.1",
|
---|
| 71 | "eslint-plugin-jsx-a11y": "^6.4.1",
|
---|
| 72 | "eslint-plugin-postcss-modules": "^1.2.1",
|
---|
| 73 | "eslint-plugin-react": "^7.22.0",
|
---|
| 74 | "eslint-plugin-react-hooks": "^4.2.0",
|
---|
| 75 | "husky": "^4.3.8",
|
---|
| 76 | "jest": "^27.0.6",
|
---|
| 77 | "lint-staged": "^10.5.1",
|
---|
| 78 | "postcss": "^8.2.13",
|
---|
| 79 | "prettier": "^2.1.2",
|
---|
| 80 | "react": "^17.0.2",
|
---|
| 81 | "react-dom": "^17.0.2",
|
---|
| 82 | "rollup": "^2.41.4",
|
---|
| 83 | "rollup-plugin-eslint": "^7.0.0",
|
---|
| 84 | "rollup-plugin-exclude-dependencies-from-bundle": "^1.1.20",
|
---|
| 85 | "rollup-plugin-peer-deps-external": "^2.2.4",
|
---|
| 86 | "rollup-plugin-postcss": "^4.0.0",
|
---|
| 87 | "rollup-plugin-postcss-modules": "^2.0.2",
|
---|
| 88 | "rollup-plugin-sourcemaps": "^0.6.3",
|
---|
| 89 | "rollup-plugin-terser": "^7.0.2",
|
---|
| 90 | "storybook-css-modules-preset": "^1.1.1",
|
---|
| 91 | "ts-jest": "^27.0.3",
|
---|
| 92 | "typescript": "^4.2.3",
|
---|
| 93 | "yargs": "^16.2.0"
|
---|
| 94 | },
|
---|
| 95 | "peerDependencies": {
|
---|
| 96 | "react": ">=16.0.0"
|
---|
| 97 | },
|
---|
| 98 | "lint-staged": {
|
---|
| 99 | "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
|
---|
| 100 | "prettier --write"
|
---|
| 101 | ],
|
---|
| 102 | "package.json": [
|
---|
| 103 | "prettier --write"
|
---|
| 104 | ]
|
---|
| 105 | },
|
---|
| 106 | "husky": {
|
---|
| 107 | "hooks": {
|
---|
| 108 | "pre-commit": "lint-staged"
|
---|
| 109 | }
|
---|
| 110 | },
|
---|
| 111 | "dependencies": {
|
---|
| 112 | "@babel/runtime": "^7.14.8",
|
---|
| 113 | "@use-gesture/react": "^10.0.2",
|
---|
| 114 | "lodash-es": "^4.17.21",
|
---|
| 115 | "react-use": "^17.2.4",
|
---|
| 116 | "tslib": "^2.3.1"
|
---|
| 117 | }
|
---|
| 118 | }
|
---|