-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
53 lines (53 loc) · 1.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "phpeggy",
"version": "2.0.1",
"description": "PHP target for Peggy parser generator",
"main": "src/phpeggy.js",
"peerDependencies": {
"peggy": "^3.0.0"
},
"devDependencies": {
"@peggyjs/eslint-config": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"chai": "^4.3.3",
"eslint": "^8.11.0",
"mocha": "^10.2.0",
"peggy": "^3.0.0",
"typescript": "^5.0.2"
},
"scripts": {
"build:fixtures": "rm -f test/fixtures/*.php && GENERATE_MISSING_FIXTURES=y npm test",
"build:manual-tests": "cd manual-test && node test.js",
"lint": "eslint .",
"php:csfix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --diff --using-cache=no",
"php:csfix-manual": "./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.manual.php -v --dry-run --diff --using-cache=no",
"php:static": "for f in test/fixtures/*.php; do echo \"\nProcessing $f ...\nPHPStan:\"; ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress $f; echo \"Psalm:\" ; ./vendor/bin/psalm $f; done",
"php:static-manual": "for f in manual-test/output/*.php; do echo \"\nProcessing $f ...\nPHPStan:\"; ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress $f; echo \"Psalm:\" ; ./vendor/bin/psalm $f; done",
"php:test": "npm run php:csfix && npm run php:static",
"php:test-manual": "npm run php:csfix-manual && npm run php:static-manual",
"pretest": "npm run lint",
"test": "mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/marcelbolten/phpeggy.git"
},
"keywords": [
"peggy",
"plugin",
"php",
"parser",
"generator",
"PEG"
],
"contributors": [
"Elantcev Mikhail",
"James Nylen <jnylen@gmail.com>",
"Marcel Bolten <github@marcelbolten.de>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/marcelbolten/phpeggy/issues"
}
}