UNPKG

2.45 kBJSONView Raw
1{
2 "ava": {
3 "failFast": false,
4 "files": [
5 "dist/tests/**/*.js",
6 "!dist/tests/**/fixtures/**/*.js"
7 ],
8 "timeout": "1m"
9 },
10 "dependencies": {
11 "@hint/utils": "^7.0.2",
12 "@hint/utils-debug": "^1.0.1",
13 "@types/estree-jsx": "^0.0.0",
14 "acorn": "^7.1.1",
15 "acorn-jsx": "^5.2.0",
16 "acorn-jsx-walk": "^2.0.0",
17 "acorn-walk": "^7.0.0"
18 },
19 "description": "webhint parser needed to analyze JavaScript files",
20 "devDependencies": {
21 "@hint/utils-dom": "^2.0.0",
22 "@types/acorn": "^4.0.5",
23 "@types/node": "^12.12.14",
24 "@types/proxyquire": "^1.3.28",
25 "@types/sinon": "^7.5.1",
26 "@typescript-eslint/eslint-plugin": "^1.13.0",
27 "@typescript-eslint/parser": "^1.12.0",
28 "ava": "^3.4.0",
29 "cpx": "^1.5.0",
30 "eslint-plugin-import": "^2.18.2",
31 "eslint-plugin-markdown": "^1.0.2",
32 "eventemitter2": "^6.0.0",
33 "npm-run-all": "^4.1.5",
34 "nyc": "^15.0.0",
35 "proxyquire": "^2.1.3",
36 "rimraf": "^3.0.2",
37 "sinon": "^9.0.1",
38 "typescript": "^3.8.3"
39 },
40 "files": [
41 "dist/src"
42 ],
43 "homepage": "https://webhint.io/",
44 "keywords": [
45 "javascript",
46 "webhint",
47 "webhint-parser"
48 ],
49 "license": "Apache-2.0",
50 "main": "dist/src/parser.js",
51 "name": "@hint/parser-javascript",
52 "nyc": {
53 "extends": "../../.nycrc"
54 },
55 "peerDependencies": {
56 "hint": "^6.0.0"
57 },
58 "repository": {
59 "directory": "packages/parser-javascript",
60 "type": "git",
61 "url": "https://github.com/webhintio/hint.git"
62 },
63 "scripts": {
64 "build": "npm-run-all build:*",
65 "build-release": "npm run clean && npm run build:assets && tsc --inlineSourceMap false --removeComments true",
66 "build:assets": "cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist",
67 "build:ts": "tsc -b",
68 "clean": "rimraf dist",
69 "lint": "npm-run-all lint:*",
70 "lint:js": "eslint . --cache --ext .js,.md,.ts --ignore-path ../../.eslintignore",
71 "lint:dependencies": "node ../../scripts/lint-dependencies.js",
72 "lint:md": "node ../../scripts/lint-markdown.js",
73 "test": "npm run lint && npm run build && npm run test-only",
74 "test-only": "nyc ava",
75 "test-release": "npm run lint && npm run build-release && ava",
76 "watch": "npm run build && npm-run-all --parallel -c watch:*",
77 "watch:assets": "npm run build:assets -- -w --no-initial",
78 "watch:test": "ava --watch",
79 "watch:ts": "npm run build:ts -- --watch"
80 },
81 "version": "3.1.3"
82}