mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
124 lines
4.2 KiB
JSON
124 lines
4.2 KiB
JSON
{
|
|
"name": "react-fiber-traverse",
|
|
"version": "0.0.7",
|
|
"description": "Traverse and other utils on top of React fiber tree",
|
|
"main": "dist/index.js",
|
|
"module": "dist/react-fiber-traverse.esm.js",
|
|
"jsnext:main": "dist/react-fiber-traverse.esm.js",
|
|
"typings": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"authors": "shelljs-authors > AUTHORS",
|
|
"build": "run-s clean compile bundle",
|
|
"bundle": "rollup -c",
|
|
"changelog": "github_changelog_generator --no-issues --header-label \"# Changelog\" --future-release v$npm_package_version",
|
|
"check:format": "prettier --list-different \"**/*.{js,ts,tsx}\"",
|
|
"check:types": "tsc --noEmit",
|
|
"fix:format": "prettier --write \"**/*.{js,ts,tsx}\"",
|
|
"clean": "run-p clean:*",
|
|
"clean:compiled": "del compiled",
|
|
"clean:coverage": "del coverage",
|
|
"clean:dist": "del dist",
|
|
"compile": "tsc -p tsconfig.base.json",
|
|
"docs": "npx typedoc ./src/",
|
|
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
|
|
"_lint": "eslint --ext .js,.ts,.jsx,.tsx",
|
|
"lint": "npm run _lint -- .",
|
|
"postbundle": "del compiled && cp-cli ./index.js ./dist/index.js",
|
|
"postversion": "git push && git push --tags && npm publish",
|
|
"release": "npm version -m 'Release v%s'",
|
|
"test": "run-s check:* lint build test:*",
|
|
"test:cjs": "jest --config ./scripts/jest/config.cjs.js",
|
|
"test:cjsprod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.cjs.js",
|
|
"test:es": "jest --config ./scripts/jest/config.es.js",
|
|
"test:src": "jest --config ./scripts/jest/config.src.js",
|
|
"test:src:watch": "npm run test:src -- --watch",
|
|
"test:umd": "jest --config ./scripts/jest/config.umd.js",
|
|
"test:umdprod": "jest --config ./scripts/jest/config.umdprod.js",
|
|
"test:src:debug": "node --inspect ./node_modules/jest/bin/jest.js --config ./scripts/jest/config.src.js",
|
|
"version": "run-s test authors docs && git add ."
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "github:bendtherules/react-fiber-traverse"
|
|
},
|
|
"keywords": [
|
|
"javascript",
|
|
"react",
|
|
"typescript"
|
|
],
|
|
"author": "bendtherules <abhasbhattacharya2@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "github:bendtherules/react-fiber-traverse/issues"
|
|
},
|
|
"homepage": "github:bendtherules/react-fiber-traverse",
|
|
"peerDependencies": {
|
|
"react": "^16.0.0",
|
|
"react-dom": "^16.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.5.4",
|
|
"prop-types": "^15.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.5.4",
|
|
"@babel/plugin-proposal-class-properties": "7.5.0",
|
|
"@babel/plugin-transform-runtime": "7.5.0",
|
|
"@babel/preset-env": "7.5.4",
|
|
"@babel/preset-react": "7.0.0",
|
|
"@types/enzyme": "3.10.3",
|
|
"@types/enzyme-adapter-react-16": "1.0.5",
|
|
"@types/jest": "24.0.15",
|
|
"@types/prop-types": "15.7.1",
|
|
"@types/react": "16.8.23",
|
|
"@types/react-dom": "16.8.4",
|
|
"@typescript-eslint/eslint-plugin": "1.12.0",
|
|
"@typescript-eslint/parser": "1.12.0",
|
|
"babel-core": "6.26.3",
|
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
"codecov": "3.5.0",
|
|
"cp-cli": "2.0.0",
|
|
"cross-env": "5.2.0",
|
|
"del-cli": "2.0.0",
|
|
"enzyme": "3.10.0",
|
|
"enzyme-adapter-react-16": "1.14.0",
|
|
"eslint": "6.0.1",
|
|
"eslint-config-prettier": "6.0.0",
|
|
"eslint-plugin-react": "7.14.2",
|
|
"eslint-plugin-react-hooks": "1.6.1",
|
|
"husky": "^3.0.2",
|
|
"jest": "24.8.0",
|
|
"jest-prettyhtml-matchers": "1.0.22",
|
|
"lint-staged": "^9.2.1",
|
|
"npm-run-all": "4.1.5",
|
|
"prettier": "1.18.2",
|
|
"react": "16.8.6",
|
|
"react-dom": "16.8.6",
|
|
"react-test-renderer": "16.8.6",
|
|
"regenerator-runtime": "0.13.2",
|
|
"rollup": "1.17.0",
|
|
"rollup-plugin-babel": "4.3.3",
|
|
"rollup-plugin-commonjs": "10.0.1",
|
|
"rollup-plugin-filesize": "6.1.1",
|
|
"rollup-plugin-node-resolve": "5.2.0",
|
|
"rollup-plugin-replace": "2.2.0",
|
|
"rollup-plugin-size-snapshot": "0.9.0",
|
|
"rollup-plugin-sourcemaps": "0.4.2",
|
|
"rollup-plugin-terser": "5.1.1",
|
|
"shelljs": "0.8.3",
|
|
"shelljs-plugin-authors": "2.0.10",
|
|
"ts-jest": "24.0.2",
|
|
"typedoc": "^0.15.0",
|
|
"typedoc-plugin-markdown": "^2.1.0",
|
|
"typescript": "3.5.3"
|
|
}
|
|
}
|