Skip to content

Commit

Permalink
Remove react-spring (and 14 other unused dependencies). #69
Browse files Browse the repository at this point in the history
  • Loading branch information
brianzinn committed May 31, 2020
1 parent d08efd8 commit 8c9aefb
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 325 deletions.
72 changes: 7 additions & 65 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "react-babylonjs",
"version": "2.2.0",
"description": "React for BabylonJS",
"version": "2.2.1",
"description": "React for Babylon.js",
"homepage": "https://brianzinn.github.io/react-babylonjs/",
"keywords": [
"3d",
"webgl",
"react",
"babylonjs",
"babylon",
"babylon.js",
"@babylonjs",
"react-reconciler"
],
Expand All @@ -26,56 +27,20 @@
"node": ">=6.0.0"
},
"scripts": {
"lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"lint": "tslint -t codeFrame 'src/**/*.ts'",
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production rollup -c",
"start": "tsc-watch --onSuccess \"rollup -c\"",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"storybook": "start-storybook -p 6006 -s ./storyboard-site",
"build-storybook": "build-storybook -o storybook-static -s ./storyboard-site",
"generate-code": "ts-node -P tsconfig.generate.json tools/generate-code"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"src/**/*.ts": [
"prettier --write --no-semi --print-width 160"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
}
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
}
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
Expand All @@ -85,10 +50,6 @@
"@babylonjs/loaders": "^4.1.0",
"@babylonjs/procedural-textures": "^4.1.0",
"@inlet/react-pixi": "^1.2.8",
"@react-spring/addons": "^9.0.0-beta.33",
"@react-spring/animated": "^9.0.0-beta.33",
"@react-spring/core": "9.0.0-beta.30",
"@react-spring/shared": "^9.0.0-beta.33",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-typescript": "^4.0.0",
"@storybook/addon-actions": "^5.3.17",
Expand All @@ -100,7 +61,6 @@
"@storybook/react": "^5.3.17",
"@storybook/source-loader": "^5.3.17",
"@storybook/theming": "^5.3.17",
"@types/jest": "^23.3.12",
"@types/lodash.camelcase": "^4.3.6",
"@types/node": "^8.0.0",
"@types/pixi.js": "^5.0.0",
Expand All @@ -109,54 +69,36 @@
"babel-loader": "^8.1.0",
"cannon": "^0.6.2",
"chroma-js": "^2.1.0",
"colors": "^1.3.3",
"commitizen": "^3.0.5",
"coveralls": "^3.0.2",
"cross-env": "^7.0.0",
"cz-conventional-changelog": "^2.1.0",
"earcut": "^2.2.2",
"fbjs": "^1.0.0",
"gsap": "^2.1.3",
"husky": "^1.3.1",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"lodash.camelcase": "^4.3.0",
"pixi-projection": "^0.3.11",
"pixi.js": "^5.2.1",
"prettier": "^1.15.3",
"prompt": "^1.0.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-reconciler": "^0.25.1",
"replace-in-file": "^3.4.3",
"rimraf": "^2.6.1",
"rollup": "^2.0.6",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.26.0",
"semantic-release": "^15.13.3",
"shallow-equal-object": "^1.1.1",
"storybook": "^5.3.17",
"ts-jest": "^23.10.5",
"ts-morph": "^4.0.1",
"ts-node": "^7.0.1",
"tsc-watch": "^1.0.31",
"tsconfig-paths": "^3.9.0",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.17.0",
"tslint-config-standard": "^8.0.1",
"typedoc": "^0.14.1",
"typescript": "3.8.2",
"validate-commit-msg": "^2.14.0"
"typescript": "3.8.2"
},
"peerDependencies": {
"@babylonjs/core": "4.x",
"@babylonjs/gui": "4.x",
"@babylonjs/inspector": "4.x",
"@babylonjs/loaders": "4.x",
"@react-spring/addons": "9.x",
"@react-spring/animated": "9.x",
"@react-spring/core": "9.x",
"@react-spring/shared": "9.x",
"react": "16.x",
"react-dom": "16.x",
"react-reconciler": "0.x"
Expand Down
84 changes: 0 additions & 84 deletions src/plugins/react-babylon-spring/animated.ts

This file was deleted.

137 changes: 0 additions & 137 deletions src/plugins/react-babylon-spring/customProps.ts

This file was deleted.

21 changes: 0 additions & 21 deletions src/plugins/react-babylon-spring/index.ts

This file was deleted.

Loading

0 comments on commit 8c9aefb

Please sign in to comment.