blob: 816a4709ef56f70a7ca94e60b8756b1c7954a0a5 [file] [log] [blame]
{
"author": {
"name": "Andrew Lunny",
"email": "alunny@gmail.com"
},
"name": "xcode",
"description": "parser for xcodeproj/project.pbxproj files",
"version": "0.6.1",
"main": "index.js",
"repository": {
"url": "https://github.com/alunny/node-xcode.git"
},
"engines": {
"node": ">=0.6.7"
},
"dependencies": {
"pegjs": "0.6.2",
"node-uuid": "1.3.3"
},
"devDependencies": {
"nodeunit": "0.6.4"
},
"scripts": {
"test": "node_modules/.bin/nodeunit test/parser test"
},
"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": "# node-xcode\n\n> parser/toolkit for xcodeproj project files\n\nAllows you to edit xcodeproject files and write them back out.\n\n## Example\n\n // API is a bit wonky right now\n var 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\n myProj.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## 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 http://pegjs.majda.cz/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 ./node_modules/.bin/pegjs lib/parser/pbxproj.pegjs\n\n(easier if `./node_modules/.bin` is in your path)\n\n## License\n\nMIT\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/alunny/node-xcode/issues"
},
"_id": "xcode@0.6.1",
"_from": "xcode@0.6.1"
}