{"author":{"name":"Apache Software Foundation"},"name":"xcode","description":"parser for xcodeproj/project.pbxproj files","version":"3.0.2-nightly.20240613000756036.sha.5158ec51","main":"index.js","repository":{"type":"git","url":"git+https://github.com/apache/cordova-node-xcode.git"},"bugs":{"url":"https://github.com/apache/cordova-node-xcode/issues"},"engines":{"node":">=10.0.0"},"dependencies":{"simple-plist":"^1.1.0","uuid":"^7.0.3"},"devDependencies":{"nodeunit":"^0.11.3","nyc":"^15.0.0","pegjs":"^0.10.0"},"scripts":{"pegjs":"pegjs lib/parser/pbxproj.pegjs","test":"npm run cover","test:unit":"nodeunit test/parser test","cover":"nyc npm run test:unit"},"license":"Apache-2.0","nyc":{"all":true,"exclude":["coverage/","test/"],"reporter":["lcov","text"]},"_id":"xcode@3.0.2-nightly.20240613000756036.sha.5158ec51","contributors":[{"name":"Andrew Lunny","url":"@alunny"},{"name":"Anis Kadri","url":"@imhotep"},{"name":"Mike Reinstein","url":"@mreinstein"},{"name":"Filip Maj","url":"@filmaj"},{"name":"Brett Rudd","url":"@goya"},{"name":"Bob Easterday","url":"@bobeast"}],"readme":"<!--\n#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n#  KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n-->\n\n# cordova-node-xcode\n\n[![NPM](https://nodei.co/npm/xcode.png?compact=true)](https://nodei.co/npm/xcode/)\n\n[![Node CI](https://github.com/apache/cordova-node-xcode/workflows/Node%20CI/badge.svg?branch=master)](https://github.com/apache/cordova-node-xcode/actions?query=branch%3Amaster)\n\nParser utility for xcodeproj project files\n\nAllows you to edit xcodeproject files and write them back out.\n\nbased on donated code from [alunny / node-xcode](https://github.com/alunny/node-xcode)\n\n## Example\n\n```js\n// API is a bit wonky right now\nvar xcode = require('xcode'),\n    fs = require('fs'),\n    projectPath = 'myproject.xcodeproj/project.pbxproj',\n    myProj = xcode.project(projectPath);\n\n// parsing is async, in a different process\nmyProj.parse(function (err) {\n    myProj.addHeaderFile('foo.h');\n    myProj.addSourceFile('foo.m');\n    myProj.addFramework('FooKit.framework');\n   \n    fs.writeFileSync(projectPath, myProj.writeSync());\n    console.log('new project written');\n});\n```\n\n## Working on the parser\n\nIf there's a problem parsing, you will want to edit the grammar under\n`lib/parser/pbxproj.pegjs`. You can test it online with the PEGjs online thingy\nat https://pegjs.org/online - I have had some mixed results though.\n\nTests under the `test/parser` directory will compile the parser from the\ngrammar. Other tests will use the prebuilt parser (`lib/parser/pbxproj.js`).\n\nTo rebuild the parser js file after editing the grammar, run:\n\n    npm run pegjs\n\n(and be sure to restore the Apache license notice in\n`lib/parser/pbxproj.js` before committing)\n\n## License\n\nApache V2\n","readmeFilename":"README.md","gitHead":"5158ec512d7ebd57c6fd62dbbcc4ce18c79a8ef6","homepage":"https://github.com/apache/cordova-node-xcode#readme","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-dVryPsaiWAPo5qTEUmNnuNgavtwwVpCPVhouf3b3YBIKE/wVbdWg48oIJpwPBWGDxh9/lcQYh4qVLAaQIgKYhA==","shasum":"03df23048da941e1f61e0002c3caa21f0a191371","tarball":"http://registry-npm.ywwl.com/xcode/download/xcode-3.0.2-nightly.20240613000756036.sha.5158ec51.tgz","fileCount":15,"unpackedSize":161013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEP8/bb9NaZIirvCnT3fMG3R/H2dTxZs2QmEsMKDDSg7AiEA+nteRU6vcXdaXg0C9MTDRFZmCAkiNrwg5jX6NrzQHOM="}],"size":29714,"noattachment":false,"key":"/xcode/-/xcode-3.0.2-nightly.20240613000756036.sha.5158ec51.tgz"},"_npmUser":{"name":"cordovaowner","email":"apachecordovabot@gmail.com"},"directories":{},"maintainers":[{"name":"brodybits","email":"chris.brody+brodybits@gmail.com"},{"name":"dpogue","email":"darryl@dpogue.ca"},{"name":"cordovaowner","email":"apachecordovabot@gmail.com"},{"name":"stevegill","email":"stevengill97@gmail.com"},{"name":"purplecabbage","email":"purplecabbage@gmail.com"},{"name":"anis","email":"anis.kadri@gmail.com"},{"name":"filmaj","email":"maj.fil@gmail.com"},{"name":"bowserj","email":"bowserj@apache.org"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"surajpindoria","email":"pindoria.suraj@gmail.com"},{"name":"erisu","email":"erisu.dev@outlook.jp"},{"name":"niklasmerz","email":"niklasmerz@linux.com"},{"name":"janpio","email":"piotrowski+npm@gmail.com"},{"name":"normanbreau","email":"norman@breautek.com"},{"name":"pvpoyer","email":"pieter.vanpoyer@portofantwerp.com"},{"name":"shepheb","email":"braden.shepherdson@gmail.com"},{"name":"alunny","email":"alunny@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xcode_3.0.2-nightly.20240613000756036.sha.5158ec51_1718237309436_0.7932065105758517"},"_hasShrinkwrap":false,"publish_time":1718237309678,"_cnpm_publish_time":1718237309678,"dist-tags":{"latest":"4.0.0","nightly":"3.0.2-nightly.20251125002453809.sha.e6b981ec"}}