-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
71 lines (71 loc) · 1.86 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
{
"name": "math-expression-generator",
"version": "1.3.0",
"description": "JavaScript library for generating mathematical expressions that evaluate to a particular number",
"keywords": [
"math",
"arithmetic",
"mathematical",
"expression",
"addition",
"subtraction",
"multiplication",
"division"
],
"main": "dist/index.js",
"repository": "https://github.com/bent0b0x/math-expression-generator",
"author": "bent0b0x",
"license": "MIT",
"scripts": {
"build": "yarn webpack --mode=production",
"dev": "yarn webpack --watch --mode=development",
"generate-docs": "typedoc --tsconfig tsconfig.json --out docs/ src/generateExpression.ts src/generateBag.ts src/types --excludeExternals && touch docs/.nojekyll",
"lint": "yarn tslint -p tsconfig.json",
"prepublishOnly": "yarn build",
"test": "jest",
"test:dev": "jest --watchAll"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"tslint --fix",
"yarn generate-docs",
"git add"
],
"*.{ts,tsx,js,json}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/jest": "^23.3.10",
"@types/mathjs": "^6.0.2",
"@webpack-cli/init": "^0.1.2",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.4",
"babel-preset-env": "^1.7.0",
"copy-webpack-plugin": "^4.6.0",
"husky": "^1.2.0",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"mathjs": "^6.2.1",
"prettier": "^1.15.3",
"ts-jest": "^23.10.5",
"ts-loader": "^5.3.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"typedoc": "^0.13.0",
"typescript": "^3.2.1",
"webpack": "^4.26.1",
"webpack-cli": "^3.1.2"
},
"dependencies": {
"generatorics": "^1.1.0",
"lodash.shuffle": "^4.2.0",
"quick-is-prime": "^1.0.7"
}
}