109 lines
2.5 KiB
JSON
109 lines
2.5 KiB
JSON
{
|
|
"name": "nitro-epub",
|
|
"version": "0.0.1",
|
|
"description": "Nitro module for importing and exporting EPUB files",
|
|
"main": "lib/index",
|
|
"module": "lib/index",
|
|
"types": "lib/index.d.ts",
|
|
"react-native": "src/index",
|
|
"source": "src/index",
|
|
"files": [
|
|
"src",
|
|
"react-native.config.js",
|
|
"lib",
|
|
"nitrogen",
|
|
"android/build.gradle",
|
|
"android/gradle.properties",
|
|
"android/fix-prefab.gradle",
|
|
"android/CMakeLists.txt",
|
|
"android/src",
|
|
"cpp",
|
|
"ios/**/*.h",
|
|
"ios/**/*.m",
|
|
"ios/**/*.mm",
|
|
"ios/**/*.cpp",
|
|
"ios/**/*.swift",
|
|
"app.plugin.js",
|
|
"nitro.json",
|
|
"*.podspec",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf android/build node_modules/**/android/build lib",
|
|
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
|
|
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions --max-warnings 0",
|
|
"typescript": "tsc",
|
|
"specs": "tsc --noEmit false && nitrogen --logLevel=\"debug\""
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"nitro"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/LNReader/lnreader"
|
|
},
|
|
"author": "LNReader",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/LNReader/lnreader/issues"
|
|
},
|
|
"homepage": "https://github.com/LNReader/lnreader#readme",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@react-native/eslint-config": "0.85.3",
|
|
"@types/react": "^19.2.15",
|
|
"eslint": "^9.39.4",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.5",
|
|
"nitrogen": "*",
|
|
"prettier": "^3.8.3",
|
|
"react": "19.2.3",
|
|
"react-native": "0.85.3",
|
|
"react-native-nitro-modules": "*",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*",
|
|
"react-native-nitro-modules": "*"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@react-native",
|
|
"prettier"
|
|
],
|
|
"plugins": [
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": [
|
|
"warn",
|
|
{
|
|
"quoteProps": "consistent",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"node_modules/",
|
|
"lib/"
|
|
],
|
|
"prettier": {
|
|
"quoteProps": "consistent",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": false,
|
|
"semi": false
|
|
}
|
|
}
|