mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: fix github security alert (#7385)
This commit is contained in:
committed by
Dimitar Topuzov
parent
2723744091
commit
2d68a4061e
@@ -16,11 +16,13 @@
|
|||||||
"name": "Ariya Hidayat",
|
"name": "Ariya Hidayat",
|
||||||
"email": "ariya.hidayat@gmail.com"
|
"email": "ariya.hidayat@gmail.com"
|
||||||
},
|
},
|
||||||
"maintainers": [{
|
"maintainers": [
|
||||||
"name": "Ariya Hidayat",
|
{
|
||||||
"email": "ariya.hidayat@gmail.com",
|
"name": "Ariya Hidayat",
|
||||||
"web": "http://ariya.ofilabs.com"
|
"email": "ariya.hidayat@gmail.com",
|
||||||
}],
|
"web": "http://ariya.ofilabs.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/ariya/esprima.git"
|
"url": "https://github.com/ariya/esprima.git"
|
||||||
@@ -28,13 +30,15 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "http://issues.esprima.org"
|
"url": "http://issues.esprima.org"
|
||||||
},
|
},
|
||||||
"licenses": [{
|
"licenses": [
|
||||||
"type": "BSD",
|
{
|
||||||
"url": "https://github.com/ariya/esprima/raw/master/LICENSE.BSD"
|
"type": "BSD",
|
||||||
}],
|
"url": "https://github.com/ariya/esprima/raw/master/LICENSE.BSD"
|
||||||
|
}
|
||||||
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"jslint": "~0.1.9",
|
"jslint": "~0.1.9",
|
||||||
"eslint": "~0.6.2",
|
"eslint": "~5.16.0",
|
||||||
"jscs": "~1.2.4",
|
"jscs": "~1.2.4",
|
||||||
"istanbul": "~0.2.6",
|
"istanbul": "~0.2.6",
|
||||||
"complexity-report": "~0.6.1",
|
"complexity-report": "~0.6.1",
|
||||||
@@ -52,23 +56,18 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"generate-regex": "node tools/generate-identifier-regex.js",
|
"generate-regex": "node tools/generate-identifier-regex.js",
|
||||||
|
|
||||||
"test": "npm run-script lint && node test/run.js && npm run-script coverage && npm run-script complexity",
|
"test": "npm run-script lint && node test/run.js && npm run-script coverage && npm run-script complexity",
|
||||||
|
|
||||||
"lint": "npm run-script check-version && npm run-script eslint && npm run-script jscs && npm run-script jslint",
|
"lint": "npm run-script check-version && npm run-script eslint && npm run-script jscs && npm run-script jslint",
|
||||||
"check-version": "node tools/check-version.js",
|
"check-version": "node tools/check-version.js",
|
||||||
"eslint": "node node_modules/eslint/bin/eslint.js esprima.js",
|
"eslint": "node node_modules/eslint/bin/eslint.js esprima.js",
|
||||||
"jscs": "node node_modules/jscs/bin/jscs esprima.js",
|
"jscs": "node node_modules/jscs/bin/jscs esprima.js",
|
||||||
"jslint": "node node_modules/jslint/bin/jslint.js esprima.js",
|
"jslint": "node node_modules/jslint/bin/jslint.js esprima.js",
|
||||||
|
|
||||||
"coverage": "npm run-script analyze-coverage && npm run-script check-coverage",
|
"coverage": "npm run-script analyze-coverage && npm run-script check-coverage",
|
||||||
"analyze-coverage": "node node_modules/istanbul/lib/cli.js cover test/runner.js",
|
"analyze-coverage": "node node_modules/istanbul/lib/cli.js cover test/runner.js",
|
||||||
"check-coverage": "node node_modules/istanbul/lib/cli.js check-coverage --statement 100 --branch 100 --function 100",
|
"check-coverage": "node node_modules/istanbul/lib/cli.js check-coverage --statement 100 --branch 100 --function 100",
|
||||||
|
|
||||||
"complexity": "npm run-script analyze-complexity && npm run-script check-complexity",
|
"complexity": "npm run-script analyze-complexity && npm run-script check-complexity",
|
||||||
"analyze-complexity": "node tools/list-complexity.js",
|
"analyze-complexity": "node tools/list-complexity.js",
|
||||||
"check-complexity": "node node_modules/complexity-report/src/cli.js --maxcc 15 --silent -l -w esprima.js",
|
"check-complexity": "node node_modules/complexity-report/src/cli.js --maxcc 15 --silent -l -w esprima.js",
|
||||||
|
|
||||||
"benchmark": "node test/benchmarks.js",
|
"benchmark": "node test/benchmarks.js",
|
||||||
"benchmark-quick": "node test/benchmarks.js quick"
|
"benchmark-quick": "node test/benchmarks.js quick"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user