-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 2.05 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
{
"name": "interestjs",
"version": "1.0.2",
"main": "dist/interest.min.js",
"description": "Calculate compound interest in js (browser/node.js/browserify)",
"homepage": "https://github.com/kfiku/InterestJS",
"bugs": "https://github.com/kfiku/InterestJS/issues",
"author": {
"name": "Grzegorz Klimek",
"email": "kfiku.com@gmail.com",
"url": "https://github.com/kfiku"
},
"repository": {
"type": "git",
"url": "https://github.com/kfiku/InterestJS"
},
"license": "MIT",
"files": [
"lib"
],
"keywords": [
"interest",
"interestjs",
"nodejs",
"loan",
"calculator",
"interest-calculator",
"js",
"browserify",
"intrerest"
],
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.16.11",
"babel-jest": "^27.5.1",
"coveralls": "^3.1.1",
"jest": "~27.5.1",
"rollup": "^2.70.1",
"standard": "~16.0.4",
"uglify-js": "^3.15.4"
},
"scripts": {
"test": "npm run lint && jest --coverage",
"lint": "standard lib/*.js",
"lint:fix": "standard lib/*.js --fix",
"test:watch": "jest --coverage --watchAll",
"clean": "rm -rf dist coverage",
"build": "npm run clean && npm run build:interest && npm run build:interestToHtml && npm run min",
"build:interest": "rollup lib/interest.js --name interest --format iife --file dist/interest.js && babel -o dist/interest.js dist/interest.js",
"build:interestToHtml": "rollup lib/interestToHtmlTable.js --name interestToHtmlTable --format iife --file dist/interestToHtmlTable.js && babel -o dist/interestToHtmlTable.js dist/interestToHtmlTable.js",
"min": "npm run min:interest && npm run min:interestToHtml",
"min:interest": "uglifyjs dist/interest.js -c -m -o dist/interest.min.js",
"min:interestToHtml": "uglifyjs dist/interestToHtmlTable.js -c -m -o dist/interestToHtmlTable.min.js"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 0
}
}
}
}