-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
129 lines (129 loc) · 4.49 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "jamilih",
"version": "0.60.0",
"type": "module",
"types": "./dist/jml.d.ts",
"author": {
"name": "Brett Zamir",
"email": "[email protected]",
"url": "http://brett-zamir.me"
},
"contributors": [],
"scripts": {
"tsc": "tsc",
"amo": "echo \"Bundling for AMO\" && tar -czf compressed-source/source.tar.gz src plugins .babelrc.json package.json README.md rollup.config.js",
"prepublishOnly": "npm run build",
"license-badge": "license-badger --corrections --uncategorizedLicenseTemplate \"\\${license} (\\${name} (\\${version}))\" --filteredTypes=nonempty --textTemplate \"License types\n(project, deps, and bundled devDeps)\" --packageJson --production badges/licenses-badge.svg",
"license-badge-dev": "license-badger --corrections --filteredTypes=nonempty --textTemplate \"License types\n(all devDeps)\" --allDevelopment badges/licenses-badge-dev.svg",
"license-badges": "npm run license-badge && npm run license-badge-dev",
"lint": "npm run eslint",
"eslint": "eslint .",
"rollup": "rollup -c",
"build": "npm run rollup && tsc -p tsconfig-build.json && tsc -p tsconfig-build-es.json",
"browser-test": "npm run build && open-cli http://localhost:8091/test/ && npm run start",
"mocha": "mocha --require test-helpers/loadTests.js test/test.*.js --reporter-options configFile=mocha-multi-reporters.json",
"c8": "rm -Rf .nyc_output && rm -Rf coverage && rm -Rf node_modules/.cache && c8 npm run mocha && npm run coverage-badge",
"test": "npm run eslint && npm run build && npm run c8",
"kill-http-server": "pkill -f \".bin/http-server -p\"",
"build-docs": "rm -rf docs/jsdoc/*;jsdoc --pedantic -c docs/jsdoc-config.js .",
"open-docs": "open-cli http://localhost:8091/docs/jsdoc/ && npm start",
"coverage-badge": "coveradge badges/coverage-badge.svg",
"coverage": "open-cli http://localhost:8091/coverage/ && npm start",
"test-no-open": "npm run kill-http-server ; npm run eslint && npm run build && npm run start",
"start": "http-server -p 8091",
"watch": "chokidar '**/*.js' -c 'npm run test-no-open' -i 'dist' -i 'node_modules' & npm run test-no-open"
},
"c8": {
"exclude": [
"test",
"test-helpers",
".mocharc.js"
],
"reporter": [
"text",
"html",
"json-summary"
]
},
"browserslist": [
"defaults, not op_mini all"
],
"description": "Provide round-trippable JSON/JavaScript serialization",
"main": "dist/jml-jsdom.cjs",
"browser": "dist/jml.js",
"exports": {
".": {
"browser": {
"types": "./dist/jml.d.ts",
"default": "./dist/jml.js"
},
"import": {
"types": "./dist/jml-es.d.ts",
"default": "./dist/jml-es.js"
},
"require": {
"types": "./dist/jml-jsdom.d.cts",
"default": "./dist/jml-jsdom.cjs"
}
},
"./dist/jml-jsdom.cjs": "./dist/jml-jsdom.cjs",
"./dist/jml-es-nooinnerh.js": "./dist/jml-es-noinnerh.js",
"./dist/jml-nooinnerh.js": "./dist/jml-noinnerh.js",
"./dist/getInterpolator.js": "./dist/getInterpolator.js",
"./dist/jml.js": "./dist/jml.js",
"./src/jml-jsdom.js": {
"types": "./dist/jml-jsdom.d.ts",
"import": "./src/jml-jsdom.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/brettz9/jamilih"
},
"homepage": "https://github.com/brettz9/jamilih",
"keywords": [
"json",
"javascript",
"template",
"templating",
"html"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/brettz9/jamilih/issues"
},
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/chai": "^5.0.0",
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.8",
"babel-plugin-add-module-exports": "^1.0.4",
"c8": "^10.1.2",
"chai": "^5.1.1",
"chokidar-cli": "^3.0.0",
"core-js-bundle": "^3.38.1",
"coveradge": "^0.8.2",
"eslint": "^9.11.1",
"eslint-config-ash-nazg": "^36.19.0",
"http-server": "^14.1.1",
"jsdoc": "^4.0.3",
"jsdom": "25.0.1",
"license-badger": "^0.21.1",
"mocha": "^10.7.3",
"mocha-badge-generator": "^0.11.0",
"mocha-multi-reporters": "^1.5.1",
"open-cli": "^8.0.0",
"request": "^2.88.2",
"rollup": "4.24.0",
"rollup-plugin-re": "^1.0.7",
"typescript": "^5.6.2"
}
}