mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-07 04:18:51 -05:00
93 lines
2.3 KiB
JSON
93 lines
2.3 KiB
JSON
{
|
|
"name": "prism-react-renderer",
|
|
"version": "1.3.5",
|
|
"description": "Renders highlighted Prism output using React",
|
|
"sideEffects": false,
|
|
"main": "dist/index.cjs.js",
|
|
"module": "dist/index.js",
|
|
"types": "index.d.ts",
|
|
"license": "MIT",
|
|
"repository": "https://github.com/FormidableLabs/prism-react-renderer",
|
|
"files": [
|
|
"index.d.ts",
|
|
"dist",
|
|
"prism",
|
|
"themes"
|
|
],
|
|
"scripts": {
|
|
"prebuild": "patch-package",
|
|
"build": "rollup -c rollup.config.js",
|
|
"test": "jest",
|
|
"flow": "flow check",
|
|
"format": "prettier --write 'src/**/*.js'",
|
|
"prepublishOnly": "run-p flow build"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"@babel/preset-flow",
|
|
"@babel/preset-react",
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"loose": true,
|
|
"modules": "commonjs"
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@babel/plugin-proposal-class-properties",
|
|
{
|
|
"loose": true
|
|
}
|
|
],
|
|
"babel-plugin-macros"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.js": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=0.14.9"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.17",
|
|
"@babel/plugin-proposal-class-properties": "^7.12.13",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.12.13",
|
|
"@babel/plugin-transform-object-assign": "^7.12.13",
|
|
"@babel/plugin-transform-react-jsx": "^7.12.17",
|
|
"@babel/preset-env": "^7.12.17",
|
|
"@babel/preset-flow": "^7.12.13",
|
|
"@babel/preset-react": "^7.12.13",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-buble": "^0.21.3",
|
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
"@rollup/plugin-node-resolve": "^11.2.0",
|
|
"@testing-library/react": "^11.2.5",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^26.6.3",
|
|
"babel-plugin-macros": "^3.0.1",
|
|
"codegen.macro": "^4.1.0",
|
|
"flow-bin": "0.123.0",
|
|
"globby": "^11.0.2",
|
|
"husky": "^4.2.5",
|
|
"jest": "^26.6.3",
|
|
"lint-staged": "^10.5.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"patch-package": "^6.4.7",
|
|
"postinstall-postinstall": "^2.1.0",
|
|
"prettier": "^2.2.1",
|
|
"prismjs": "^1.26.0",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"rollup": "^2.39.0"
|
|
}
|
|
}
|