Files
nitro/packages/nitro-codegen/package.json
T

79 lines
1.8 KiB
JSON

{
"name": "nitro-codegen",
"version": "0.0.3",
"description": "Code Generator for Nitro Modules",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"source": "src/index",
"type": "module",
"files": [
"src"
],
"bin": {
"nitrogen": "./lib/index.js"
},
"scripts": {
"start": "tsc && node lib/index.js",
"postinstall": "tsc || exit 0;",
"typecheck": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mrousavy/react-native-nitro.git"
},
"author": "Marc Rousavy <me@mrousavy.com> (https://github.com/mrousavy)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mrousavy/react-native-nitro/issues"
},
"homepage": "https://github.com/mrousavy/react-native-nitro#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"ts-morph": "^23.0.0",
"typescript": "^5.5.4"
},
"dependencies": {
"chalk": "^5.3.0",
"react-native-nitro-modules": "workspace:^"
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"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
}
}