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