-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.4 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.4 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
{
"name": "onml",
"version": "3.0.0",
"description": "ONML parser, stringifier, traverser",
"type": "module",
"main": "build/onml.js",
"types": "build/index.d.ts",
"files": [
"build"
],
"scripts": {
"lint": "npx eslint . --ext .ts",
"test": "mocha",
"build": "tsc",
"build:dev": "npm run build && npm run esbuild",
"build:prod": "npm run build && npm run rollup",
"build:browser": "browserify --standalone onml -t [ babelify --presets [ @babel/preset-env @babel/preset-typescript ] ] build/index.js > build/onml.browser.js",
"prepublish": "npm run build:prod && npm run test",
"rollup": "rollup -c",
"esbuild": "node esbuild.config.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/drom/onml.git"
},
"keywords": [
"ONML",
"XML",
"HTML",
"SVG",
"JSONML",
"parser",
"stringifier",
"traverser",
"render"
],
"author": "Aliaksei Chapyzhenka",
"contributors": [
"Alexander Salas Bastidas <a.salas@ieee.org> (https://ajsb85.com)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/drom/onml/issues"
},
"homepage": "https://github.com/drom/onml#readme",
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.26.0",
"@drom/eslint-config": "^0.12.0",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/chai": "^5.2.0",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.10",
"@types/sax": "^1.2.7",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"babelify": "^10.0.0",
"browserify": "^17.0.1",
"chai": "^5.2.0",
"esbuild": "^0.25.1",
"esbuild-plugin-polyfill-node": "^0.3.0",
"eslint": "^9.22.0",
"mocha": "^11.1.0",
"rollup": "^4.36.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
},
"dependencies": {
"sax": "^1.4.1"
},
"mocha": {
"require": [
"ts-node/register",
"./mocha-loader.mjs"
],
"extension": [
"ts",
"js",
"mjs"
],
"spec": [
"test/**/*.ts"
]
},
"eslintConfig": {
"extends": "@drom/eslint-config",
"parserOptions": {
"project": "./tsconfig.test.json"
},
"ignorePatterns": "build/*"
}
}