-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.67 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.67 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "fparser",
"version": "4.2.0",
"description": "A Math Formula parser library for JavaScript",
"main": "./dist/fparser.js",
"type": "module",
"module": "./dist/fparser.js",
"files": [
"dist/"
],
"exports": {
".": {
"import": "./dist/fparser.js"
}
},
"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",
"prepublishOnly": "npm run build",
"build": "NODE_ENV=production tsc --noEmit && vite build --minify --mode=production && tsc --emitDeclarationOnly --declaration",
"build-demopage-image": "docker build --pull -t registry.alexi.ch/fparser .",
"test": "NODE_ENV=development npm run build-dev && jasmine && karma start karma.conf.cjs",
"jasmine": "NODE_ENV=development npm run build-dev && jasmine"
},
"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": {
"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",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"vite": "^5.0.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"
},
"ts-node": {
"compilerOptions": {
"module": "commonjs"
}
}
}