-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.56 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
{
"name": "i18nizeelement",
"version": "0.6.0",
"author": "Brett Zamir",
"contributors": [],
"license": "MIT",
"description": "Internationalize an element with `lang`, `dir`, and `style.writingMode` as indicated by the supplied language and settings",
"type": "module",
"main": "dist/i18nizeelement.umd.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/i18nizeelement.es6.js",
"require": "./dist/i18nizeelement.umd.js"
},
"./jamilih-plugin.js": {
"types": "./dist/i18nizeelement-jamilih-plugin.d.ts",
"import": "./dist/i18nizeelement-jamilih-plugin.es6.js",
"require": "./dist/i18nizeelement-jamilih-plugin.umd.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/brettz9/i18nizeElement"
},
"bugs": "https://github.com/brettz9/i18nizeElement/issues",
"homepage": "https://github.com/brettz9/i18nizeElement",
"keywords": [
"i18n",
"html",
"rtl"
],
"browserslist": [
"defaults, not op_mini all"
],
"scripts": {
"copy": "cp i18nizeelement-jamilih-plugin.es6.d.ts dist/i18nizeelement-jamilih-plugin.es6.d.ts",
"lint": "npm run eslint",
"eslint": "eslint .",
"tsc": "tsc",
"build": "npm run rollup && npm run copy && tsc -p tsconfig-prod.json",
"rollup": "rollup -c rollup.config.umd.js && rollup -c rollup.config.es6.js",
"start": "npm run test:watch",
"mocha": "_mocha --require chai/register-expect.js --require test/bootstrap/node.js test/*.js --exit",
"test:watch": "nodemon --watch src --watch test --exec 'npm test'",
"c8": "echo 'Deleting cache for coverage' && rm -Rf node_modules/.cache && c8 npm run mocha",
"test": "npm run eslint && npm run build && npm run c8",
"browser-test": "npm run build && open-cli http://127.0.0.1:8080/test/ && static -p 8080",
"prepublishOnly": "npm run build && npm test"
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"intl-locale-textinfo-polyfill": "^2.1.1"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.3.0",
"@types/chai": "^5.0.0",
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.8",
"c8": "^10.1.2",
"chai": "^5.1.1",
"eslint": "^9.11.1",
"eslint-config-ash-nazg": "^36.19.0",
"jamilih": "^0.60.0",
"jsdom": "^25.0.1",
"mocha": "^10.7.3",
"node-static": "0.7.11",
"nodemon": "^3.1.7",
"open-cli": "^8.0.0",
"rollup": "^4.23.0",
"source-map-support": "^0.5.21",
"typescript": "^5.6.2"
}
}