-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.5 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.5 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "complex-js",
"version": "7.1.1",
"description": "Complex math module for JavaScript",
"repository": "github:patrickroberts/complex",
"homepage": "https://patrickroberts.github.io/complex/",
"bugs": "https://github.com/patrickroberts/complex/issues",
"main": "dst/cjs/complex.js",
"module": "dst/esm/complex.js",
"browser": "dst/umd/complex.js",
"types": "dst/esm/complex.d.ts",
"keywords": ["complex", "math", "parser", "compiler"],
"scripts": {
"clean:test": "rimraf coverage",
"clean:build": "rimraf dst src/**/*.js src/**/*.d.ts src/parser/grammar.ts",
"clean:docs": "rimraf docs/**/*.md",
"clean": "concurrently 'npm:clean:*'",
"lint": "eslint . --ext .js,.ts",
"test": "jest --coverage",
"build:ne": "nearleyc src/parser/grammar.ne -o src/parser/grammar.ts",
"build:ts": "rollup --config --environment NODE_ENV:production",
"build": "npm run build:ne && npm run build:ts",
"rebuild": "npm run clean:build && npm run build",
"docs": "typedoc src/index.ts",
"watch:test": "npm test -- --watch",
"watch:build": "npm run build -- --environment NODE_ENV:development --watch",
"watch:docs": "npm run docs -- --watch",
"watch": "concurrently 'npm:watch:*'",
"prepublishOnly": "npm run clean && npm run build:ne && npm run lint && npm test && npm run build:ts && npm run docs"
},
"author": "Patrick Roberts",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/jest": "^26.0.20",
"@types/nearley": "^2.11.2",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"babel-jest": "^26.6.3",
"concurrently": "^6.4.0",
"eslint": "^7.18.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"jest": "^26.6.3",
"nearley": "^2.20.1",
"nlfurniss-typedoc-plugin-sourcefile-url": "^2.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.36.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^1.4.1",
"ts-jest": "^26.4.4",
"typedoc": "^0.22.10",
"typedoc-plugin-markdown": "^3.11.8",
"typescript": "^4.4.4"
},
"peerDependencies": {
"nearley": "^2.20.1"
},
"browserslist": {
"development": [
"last 1 chrome version",
"last 1 firefox version",
"maintained node versions"
],
"production": [
"defaults"
],
"test": [
"maintained node versions"
]
}
}