@nosferatu500/react-sortable-tree
Advanced tools
Comparing version 4.0.0-alpha.2 to 4.0.0-alpha.3
139
package.json
{ | ||
"name": "@nosferatu500/react-sortable-tree", | ||
"version": "4.0.0-alpha.2", | ||
"version": "4.0.0-alpha.3", | ||
"description": "Drag-and-drop sortable component for nested data and hierarchies", | ||
@@ -19,28 +19,5 @@ "main": "./index.js", | ||
"files": [ | ||
"dist/**" | ||
"**" | ||
], | ||
"sideEffects": false, | ||
"scripts": { | ||
"prebuild": "yarn clean && yarn lint", | ||
"build": "rollup -c", | ||
"build:storybook": "build-storybook -o build", | ||
"clean": "rimraf dist", | ||
"clean:storybook": "rimraf build", | ||
"lint": "eslint \"**/*.{ts,tsx}\" --fix", | ||
"prepublishOnly": "yarn test && yarn build", | ||
"release": "standard-version", | ||
"test": "jest --env=jsdom", | ||
"test:watch": "jest --watchAll", | ||
"storybook": "start-storybook -p ${PORT:-3001} -h 0.0.0.0", | ||
"postbuild": "yarn copy", | ||
"copy": "shx rm -rf dist/tests.d.ts && shx cp -r dist/*.d.ts dist/esm && shx mv dist/* dist && shx cp package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\" && shx echo '{\"type\":\"module\"}' > dist/esm/package.json && json -I -f dist/esm/package.json" | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"jsxBracketSameLine": true, | ||
"tabWidth": 2, | ||
"printWidth": 80 | ||
}, | ||
"repository": { | ||
@@ -65,57 +42,2 @@ "type": "git", | ||
"bugs": "https://github.com/nosferatu500/react-sortable-tree/issues", | ||
"jest": { | ||
"transform": { | ||
"^.+\\.jsx?$": "babel-jest", | ||
"^.+\\.tsx?$": "ts-jest" | ||
}, | ||
"globals": { | ||
"ts-jest": { | ||
"tsconfig": { | ||
"target": "es2015", | ||
"jsx": "react" | ||
} | ||
} | ||
}, | ||
"setupFilesAfterEnv": [ | ||
"./node_modules/jest-enzyme/lib/index.js" | ||
], | ||
"setupFiles": [ | ||
"./test-config/shim.js", | ||
"./test-config/test-setup.js" | ||
], | ||
"moduleFileExtensions": [ | ||
"js", | ||
"jsx", | ||
"json", | ||
"ts", | ||
"tsx" | ||
], | ||
"moduleDirectories": [ | ||
"node_modules" | ||
], | ||
"modulePathIgnorePatterns": [ | ||
"dist" | ||
], | ||
"moduleNameMapper": { | ||
"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js", | ||
"^dnd-core$": "dnd-core/dist/cjs", | ||
"^react-dnd$": "react-dnd/dist/cjs", | ||
"^react-dnd-html5-backend$": "react-dnd-html5-backend/dist/cjs", | ||
"^react-dnd-touch-backend$": "react-dnd-touch-backend/dist/cjs", | ||
"^react-dnd-test-backend$": "react-dnd-test-backend/dist/cjs", | ||
"^react-dnd-test-utils$": "react-dnd-test-utils/dist/cjs" | ||
}, | ||
"coverageDirectory": "./coverage/", | ||
"collectCoverage": true, | ||
"coverageReporters": [ | ||
"json", | ||
"html", | ||
"text", | ||
"text-summary" | ||
], | ||
"collectCoverageFrom": [ | ||
"src/**/*.{js,ts,tsx}", | ||
"tests/**/*.{js,ts,tsx}" | ||
] | ||
}, | ||
"dependencies": { | ||
@@ -130,56 +52,2 @@ "@nosferatu500/react-dnd-scrollzone": "^1.0.14", | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.14.8", | ||
"@babel/helper-module-imports": "^7.14.5", | ||
"@babel/plugin-transform-react-jsx": "^7.14.5", | ||
"@babel/preset-env": "^7.14.8", | ||
"@babel/types": "^7.14.8", | ||
"@nosferatu500/theme-file-explorer": "^3.0.5", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-node-resolve": "^13.0.4", | ||
"@rollup/plugin-typescript": "^8.2.5", | ||
"@storybook/addon-storyshots": "^6.3.6", | ||
"@storybook/addons": "^6.3.6", | ||
"@storybook/react": "^6.3.6", | ||
"@storybook/theming": "^6.3.6", | ||
"@testing-library/react": "^12.0.0", | ||
"@types/babel-plugin-macros": "^2.8.5", | ||
"@types/jest": "^26.0.24", | ||
"@types/react": "^17.0.15", | ||
"@types/react-dom": "^17.0.9", | ||
"@typescript-eslint/eslint-plugin": "^4.28.5", | ||
"@typescript-eslint/parser": "^4.28.5", | ||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3", | ||
"acorn-jsx": "^5.3.2", | ||
"babel-eslint": "^10.1.0", | ||
"babel-plugin-macros": "^3.1.0", | ||
"babel-plugin-tester": "^10.1.0", | ||
"enzyme": "^3.11.0", | ||
"esbuild": "^0.12.17", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.23.4", | ||
"eslint-plugin-jest": "^24.4.0", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"eslint-plugin-react": "^7.24.0", | ||
"jest": "^27.0.6", | ||
"jest-enzyme": "^7.1.2", | ||
"json": "^11.0.0", | ||
"postcss": "^8.3.6", | ||
"prettier": "^2.3.2", | ||
"react": "^17.0.2", | ||
"react-dnd-test-backend": "^14.0.0", | ||
"react-dnd-touch-backend": "^14.0.0", | ||
"react-dom": "^17.0.2", | ||
"react-test-renderer": "^17.0.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.55.1", | ||
"rollup-plugin-esbuild": "^4.5.0", | ||
"rollup-plugin-postcss": "^4.0.0", | ||
"rollup-plugin-size-snapshot": "^0.12.0", | ||
"shx": "^0.3.3", | ||
"ts-jest": "^27.0.4", | ||
"tslib": "^2.3.0", | ||
"typescript": "^4.3.5" | ||
}, | ||
"peerDependencies": { | ||
@@ -202,3 +70,4 @@ "react": ">=17.0.0", | ||
] | ||
} | ||
}, | ||
"private": false | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
227770
31
1