-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
111 lines (111 loc) · 3.31 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "fparser",
"version": "3.1.0",
"description": "A Math Formula parser library for JavaScript",
"main": "dist/fparser.js",
"type": "module",
"module": "dist/fparser.js",
"files": [
"dist/"
],
"scripts": {
"docker-image": "docker build --pull --target develop -t fparser .",
"docker-shell": "docker run --rm -ti -v \"$PWD\":/usr/src/app -w /usr/src/app fparser bash",
"docker-demopage": "docker run --rm -ti -v \"$PWD\":/usr/src/app -w /usr/src/app/demopage -p 3000:8080 fparser npm run dev",
"docker-test": "docker run --rm -ti -v \"$PWD\":/usr/src/app -w /usr/src/app fparse npm run test",
"build-dev": "NODE_ENV=development tsc --noEmit && vite build --mode=development && tsc --emitDeclarationOnly --declaration",
"build": "NODE_ENV=production tsc --noEmit && vite build --minify --mode=production && tsc --emitDeclarationOnly --declaration",
"build-demopage-image": "docker build --pull -t fparser-demopage .",
"test": "NODE_ENV=development npm run build-dev && jasmine && karma start"
},
"keywords": [
"javascript",
"formula",
"parser",
"formula",
"parser",
"mathematical",
"formula",
"parser"
],
"repository": {
"type": "git",
"url": "https://github.com/bylexus/fparse.git"
},
"author": "Alex Schenkel <alex@alexi.ch>",
"license": "MIT",
"bugs": {
"url": "https://github.com/bylexus/fparse/issues"
},
"homepage": "https://fparser.alexi.ch/",
"devDependencies": {
"typescript": "^5.2.2",
"vite": "^5.0.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jasmine": "^5.1.0",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-jasmine": "^5.1.0",
"prettier": "^3.1.0"
},
"eslintConfig": {
"root": true,
"extends": "prettier",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 9
},
"env": {
"browser": true,
"node": true
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"tabWidth": 4,
"printWidth": 120
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "none"
}
],
"semi": [
"error",
"always"
],
"curly": "error",
"eqeqeq": "error",
"no-eval": "error",
"no-loop-func": "error",
"radix": "error",
"comma-dangle": "error",
"no-undef": "error"
},
"globals": {
"describe": false,
"it": false,
"beforeEach": false,
"expect": false,
"spyOn": false
}
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "none"
}
}