-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.78 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
54
55
{
"name": "@scicave/math-parser",
"version": "5.1.0",
"description": "A mathematical parser. We mean by mathematical that, e.g., arithmetic operations is considered for example if you pass \"1+2\", the result would by a (add node \"+\") with two children nodes of type number.",
"main": "lib/index.js",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/scicave/math-parser.git"
},
"bugs": {
"url": "https://github.com/scicave/math-parser/issues"
},
"homepage": "https://github.com/scicave/math-parser#readme",
"jest": {
"moduleNameMapper": {
"parser(.js)?$": "<rootDir>/lib/index.js",
"prepareInput(.js)?$": "<rootDir>/src/prepareInput.js",
"Node(.js)?$": "<rootDir>/src/Node.js"
}
},
"scripts": {
"start": "nodemon -w src -w tools -e js,pegjs --exec npm run build",
"prod": "node ./tools/generate-version-file.js && npm run build && npm run bundle",
"build": "node ./tools/build.js",
"bundle": "parcel build ./lib/index.js --global mathParser -d ./lib -o bundle.min.js && parcel build ./lib/index.js --global mathParser --no-minify -d ./lib -o bundle.js",
"test": "jest --runInBand",
"test:ci": "npm t -- --ci --detectOpenHandles --forceExit",
"test:watch": "npm t -- --watch",
"preversion": "npm t",
"postversion": "npm run prod"
},
"keywords": [
"parser",
"pegjs",
"math-parser",
"math",
"mathematics",
"ast"
],
"author": "scicave",
"license": "MIT",
"devDependencies": {
"commander": "^9.2.0",
"eslint": "^8.14.0",
"eslint-plugin-jest": "^26.1.5",
"jest": "^26.4.2",
"nodemon": "^2.0.4",
"parcel": "^1.12.4",
"pegjs": "^0.10.0",
"rimraf": "^3.0.2"
}
}