1 | {
|
2 | "name": "@react-native-community/bob",
|
3 | "version": "0.17.1",
|
4 | "description": "CLI to build JavaScript files for React Native libraries",
|
5 | "repository": "git@github.com:callstack/react-native-builder-bob.git",
|
6 | "homepage": "https://github.com/callstack/react-native-builder-bob/blob/main/README.md",
|
7 | "author": "Satyajit Sahoo <satyajit.happy@gmail.com>",
|
8 | "license": "MIT",
|
9 | "main": "src/index.js",
|
10 | "bin": {
|
11 | "bob": "bin/bob"
|
12 | },
|
13 | "files": [
|
14 | "bin",
|
15 | "lib",
|
16 | "templates"
|
17 | ],
|
18 | "engines": {
|
19 | "node": ">= 10.0.0"
|
20 | },
|
21 | "publishConfig": {
|
22 | "access": "public",
|
23 | "registry": "https://registry.npmjs.org/"
|
24 | },
|
25 | "scripts": {
|
26 | "lint": "eslint \"**/*.{js,ts,tsx}\"",
|
27 | "typescript": "tsc --noEmit",
|
28 | "build": "babel --extensions .ts,.tsx src --out-dir lib --ignore '**/__tests__/**' --source-maps --delete-dir-on-start",
|
29 | "watch": "concurrently 'yarn typescript --watch' 'yarn build --watch'",
|
30 | "prepare": "yarn build",
|
31 | "release": "release-it"
|
32 | },
|
33 | "dependencies": {
|
34 | "@babel/core": "^7.12.10",
|
35 | "@babel/plugin-proposal-class-properties": "^7.12.1",
|
36 | "@babel/preset-env": "^7.12.11",
|
37 | "@babel/preset-flow": "^7.12.1",
|
38 | "@babel/preset-react": "^7.12.10",
|
39 | "@babel/preset-typescript": "^7.12.7",
|
40 | "browserslist": "^4.16.0",
|
41 | "chalk": "^4.1.0",
|
42 | "cosmiconfig": "^7.0.0",
|
43 | "cross-spawn": "^7.0.3",
|
44 | "dedent": "^0.7.0",
|
45 | "del": "^6.0.0",
|
46 | "ejs": "^3.1.5",
|
47 | "fs-extra": "^9.0.1",
|
48 | "github-username": "^5.0.1",
|
49 | "glob": "^7.1.6",
|
50 | "is-git-dirty": "^2.0.1",
|
51 | "json5": "^2.1.3",
|
52 | "prompts": "^2.4.0",
|
53 | "validate-npm-package-name": "^3.0.0",
|
54 | "which": "^2.0.2",
|
55 | "yargs": "^16.2.0"
|
56 | },
|
57 | "optionalDependencies": {
|
58 | "jetifier": "^1.6.6"
|
59 | },
|
60 | "devDependencies": {
|
61 | "@babel/cli": "^7.12.10",
|
62 | "@commitlint/config-conventional": "^11.0.0",
|
63 | "@release-it/conventional-changelog": "^2.0.0",
|
64 | "@types/babel__core": "^7.1.12",
|
65 | "@types/browserslist": "^4.8.0",
|
66 | "@types/chalk": "^2.2.0",
|
67 | "@types/cross-spawn": "^6.0.2",
|
68 | "@types/dedent": "^0.7.0",
|
69 | "@types/del": "^4.0.0",
|
70 | "@types/ejs": "^3.0.5",
|
71 | "@types/fs-extra": "^9.0.5",
|
72 | "@types/glob": "^7.1.3",
|
73 | "@types/json5": "^0.0.30",
|
74 | "@types/prompts": "^2.0.9",
|
75 | "@types/validate-npm-package-name": "^3.0.2",
|
76 | "@types/which": "^1.3.2",
|
77 | "@types/yargs": "^15.0.12",
|
78 | "commitlint": "^11.0.0",
|
79 | "concurrently": "^5.3.0",
|
80 | "eslint": "^7.15.0",
|
81 | "eslint-config-satya164": "^3.1.8",
|
82 | "husky": "^4.3.6",
|
83 | "prettier": "^2.2.1",
|
84 | "release-it": "^14.2.2",
|
85 | "typescript": "^4.1.3"
|
86 | },
|
87 | "husky": {
|
88 | "hooks": {
|
89 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
90 | "pre-commit": "yarn lint && yarn typescript"
|
91 | }
|
92 | },
|
93 | "commitlint": {
|
94 | "extends": [
|
95 | "@commitlint/config-conventional"
|
96 | ]
|
97 | },
|
98 | "release-it": {
|
99 | "git": {
|
100 | "commitMessage": "chore: release ${version}",
|
101 | "tagName": "v${version}"
|
102 | },
|
103 | "npm": {
|
104 | "publish": true
|
105 | },
|
106 | "github": {
|
107 | "release": true
|
108 | },
|
109 | "plugins": {
|
110 | "@release-it/conventional-changelog": {
|
111 | "preset": "angular"
|
112 | }
|
113 | }
|
114 | },
|
115 | "eslintConfig": {
|
116 | "extends": "satya164",
|
117 | "env": {
|
118 | "node": true
|
119 | }
|
120 | },
|
121 | "eslintIgnore": [
|
122 | "node_modules/",
|
123 | "coverage/",
|
124 | "lib/",
|
125 | "templates/"
|
126 | ],
|
127 | "prettier": {
|
128 | "singleQuote": true,
|
129 | "tabWidth": 2,
|
130 | "trailingComma": "es5",
|
131 | "useTabs": false
|
132 | }
|
133 | }
|