-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 4.48 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 4.48 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
{
"name": "bahai-browser",
"description": "An app to browser the Bahá'í Writings and associated texts'",
"type": "module",
"version": "0.7.0",
"engines": {
"node": ">=14.13.0"
},
"keywords": [],
"repository": "https://github.com/bahaidev/bahai-browser",
"homepage": "https://github.com/bahaidev/bahai-browser",
"bugs": "https://github.com/bahaidev/bahai-browser/issues",
"license": "MIT",
"author": "Brett Zamir",
"contributors": [],
"browserslist": [
"defaults, not op_mini all"
],
"nyc": {
"exclude": [
"node_modules/**",
"node_modules/textbrowser/node_modules/intl-dom/**",
"node_modules/textbrowser/node_modules/intl-dom/dist/**",
"node_modules/intl-dom/**",
"node_modules/jamilih/**",
"node_modules/load-stylesheets/**",
"node_modules/rtl-detect/**",
"node_modules/simple-get-json/**",
"node_modules/textbrowser/resources/vendor/**"
]
},
"scripts": {
"tsc": "tsc",
"eslint": "eslint .",
"lint": "npm run eslint",
"tippy-rollup": "rollup -c && cp node_modules/tippy.js/package.json external/package.json && cp node_modules/tippy.js/index.d.ts external/index.d.ts",
"instrument": "cp -R node_modules/textbrowser/dist/assets resources && rollup -c rollup.instrument.js",
"delay": "delay 5",
"mocha": "mocha --require test/bootstrap/node.js --require chai/register-assert.js test/bahai-browser-tests.js",
"cypress": "cypress open",
"open-test-only": "open-cli \"http://localhost:8000/textbrowser?lang=en-US&work=aqdas&aqdas-start1-1=3&aqdas-end1-1=5&anchorfield1=Paragraph&field1=Paragraph&field2=English&field3=German&field4=Arabic&colorName=Black&color=%23&bgcolorName=White&bgcolor=%23&fontSeq=Times+New+Roman%2C+serif&fontstyle=normal&fontvariant=Normal&fontweight=normal&fontstretch=normal&letterspacing=normal&lineheight=normal&header=n&footer=0&caption=0&border=1&interlintitle=1&rand=No&=No&checked1=Yes&checked2=Yes&checked3=Yes&checked4=Yes&headerfooterfixed=No&result=Yes&outputmode=table&serverOutput=json\"",
"open-test-only-delayed": "run-s delay open-test-only",
"open-test": "run-p server open-test-only-delayed",
"open-only": "open-cli http://127.0.0.1:8082/test/",
"open-only-delayed": "run-s delay open-only",
"open": "run-p start open-only-delayed",
"start": "npm run server",
"server-coverage": "echo 'Not including other servers as their interference with proper static server conflicts with Cypress' && textbrowser --allowPlugins --namespace=bahaiwritings",
"server": "textbrowser --allowPlugins --namespace=bahaiwritings --httpServer=../../../extraServers/indexServer.js --expressServer ../../../extraServers/expressServer.js",
"server-activate": "textbrowser --allowPlugins --nodeActivate --namespace=bahaiwritings",
"dev-server": "node ../textbrowser/server/main.js --allowPlugins --namespace=bahaiwritings --httpServer=../../bahai-browser/extraServers/indexServer.js",
"copy-tb": "cp -a ../textbrowser/dist/. node_modules/textbrowser/dist/ && cp -a ../textbrowser/resources/. node_modules/textbrowser/resources/ && cp -a ../textbrowser/locales/. node_modules/textbrowser/locales/ && cp -a ../textbrowser/server/. node_modules/textbrowser/server/ && chmod -R 755 node_modules/textbrowser/server/",
"test": "npm run eslint && run-p server cypress"
},
"dependencies": {
"@node-static/node-static": "^0.8.0",
"bahai-date-api": "1.0.0",
"bahai-indexes": "^0.14.0",
"bahai-reflib-data-server": "^0.12.0",
"bahaiwritings": "^0.44.2",
"httpquery": "^0.9.0",
"intl-locale-textinfo-polyfill": "^3.0.0",
"load-stylesheets": "^0.12.5",
"open-cli": "^8.0.0",
"textbrowser": "^0.53.1",
"tippy.js": "^6.3.7"
},
"devDependencies": {
"@cypress/code-coverage": "^3.14.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@types/express": "^5.0.3",
"@types/json-schema": "^7.0.15",
"ajv": "8.17.1",
"axe-core": "^4.10.3",
"caniuse-lite": "^1.0.30001747",
"chai": "^6.2.0",
"cypress": "^15.3.0",
"cypress-axe": "^1.7.0",
"delay-cli": "^2.0.0",
"eslint": "^9.37.0",
"eslint-config-ash-nazg": "^39.5.0",
"intl-dom": "^0.20.0",
"jamilih": "^0.60.0",
"json-metaschema": "1.3.0",
"json-refs": "^3.0.15",
"mocha": "^11.7.4",
"npm-run-all": "^4.1.5",
"rollup": "^4.52.4",
"rollup-plugin-istanbul": "^5.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"simple-get-json": "^10.0.0",
"textbrowser-data-schemas": "^0.2.0",
"typescript": "^5.9.3"
}
}