forked from kgram/equation-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 1.88 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "equation-parser",
"version": "1.0.0",
"description": "Parse equations to an AST",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/kgram/equation-parser.git"
},
"homepage": "https://github.com/kgram/equation-parser",
"author": "Kristoffer Gram <[email protected]>",
"license": "MIT",
"scripts": {
"test": "jest",
"lint": "eslint \"{src,tests}/**/*.ts\" rollup.config.js",
"types": "tsc -d --emitDeclarationOnly --outDir dist",
"bundle": "rollup -c rollup.config.js",
"prepare": "rimraf dist && yarn lint && yarn test && yarn types && yarn bundle"
},
"files": [
"dist",
"bin"
],
"bin": {
"equation-parser": "./bin/cli.js"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.3",
"@typescript-eslint/parser": "^5.30.3",
"eslint": "^8.19.0",
"jest": "^28.1.2",
"rimraf": "^3.0.0",
"rollup": "^2.75.7",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-multi-input": "^1.3.1",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^4.7.4"
},
"babel": {
"presets": [
"@babel/typescript",
"@babel/env"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
},
"jest": {
"transform": {
"\\.(js|ts|tsx)$": "babel-jest"
},
"testRegex": "(/tests/(?!helpers/).*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"roots": [
"<rootDir>/src/",
"<rootDir>/tests/"
]
}
}