/
package.json
57 lines (57 loc) · 1.65 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
{
"name": "fcal",
"version": "0.4.3",
"description": "Math expression evaluator",
"main": "lib/fcal.js",
"types": "lib/fcal.d.ts",
"scripts": {
"test": "jest --config jestconfig.json",
"build": "rm -rf lib && tsc",
"browser": "tsc --target es5 --outDir es5 && browserify es5/fcal.js --standalone fcal -o dist/fcal.js -p common-shakeify -p bundle-collapser/plugin && uglifyjs --compress --mangle -- dist/fcal.js > dist/fcal.min.js && rm -rf es5",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"prepare": "npm run build && npm run browser",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/5anthosh/fcal.git"
},
"author": "Santhosh Kumar",
"license": "MIT",
"bugs": {
"url": "https://github.com/5anthosh/fcal/issues"
},
"homepage": "https://github.com/5anthosh/fcal#readme",
"devDependencies": {
"@types/jest": "^26.0.20",
"@types/node": "^14.14.22",
"browserify": "^17.0.0",
"bundle-collapser": "^1.4.0",
"common-shakeify": "^0.6.2",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"tslint": "^6.0.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3",
"uglify-js": "^3.12.5"
},
"files": [
"lib/**/*",
"dist/**/*"
],
"dependencies": {
"decimal.js": "^10.2.1",
"toformat": "^2.0.0"
},
"keywords": [
"formula",
"interpreter",
"math",
"expression"
]
}