-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
92 lines (92 loc) · 3.39 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
{
"name": "@sozialhelden/a11yjson",
"version": "31.1.0",
"description": "A harmonized data schema for describing the accessibility of physical places",
"keywords": [],
"type": "module",
"module": "dist/mjs/index.js",
"main": "dist/cjs/index.js",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
"author": "Henrik Hinrichs <[email protected]>, Sebastian Felix Zappe <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/sozialhelden/a11yjson"
},
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"lint": "eslint . --ext .js,.ts",
"prebuild": "rimraf dist",
"build": "npm run build:cjs && npm run build:esm && npm run docs:build",
"build:esm": "tsc -m es2020 --target esnext --outDir dist/esm && echo '{ \"type\": \"module\" }' > dist/esm/package.json",
"build:cjs": "tsc -m commonjs --target esnext --outDir dist/cjs && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
"start": "tsc -w & rollup -c rollup.config.ts -w",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"test:prod": "NODE_OPTIONS=--experimental-vm-modules jest --coverage --no-cache --testPathIgnorePatterns node_modules,src",
"docs:build": "typedoc src --options typedoc.json --out dist/docs/typescript --json dist/typedoc-output.json && npx esrun ./tools/generate-overview.ts",
"docs:install": "docker pull squidfunk/mkdocs-material",
"docs:deploy": "(docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material build) && gh-pages --dist site",
"docs:live": "docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material",
"commit": "git-cz",
"prettier": "npx prettier --fix src/**/*.ts test/**/*.ts --write --single-quote",
"deploy": "npm run build && npm run test:prod && npm publish --access public && npm run docs:deploy"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@digitak/esrun": "^3.2.18",
"@types/jest": "^29.2.6",
"@types/js-quantities": "^1.6.3",
"@types/prop-types": "^15.7.3",
"@types/react": "^16.8.5",
"@types/react-dom": "^16.8.2",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"colors": "^1.1.2",
"cross-env": "^5.1.1",
"eslint": "^8.13.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"gh-pages": "^2.2.0",
"jest": "^29.3.1",
"jest-cli": "^29.3.1",
"mongo-object": "^3.0.1",
"prettier": "^1.8.2",
"prop-types": "^15.6.2",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"rimraf": "^2.6.1",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typescript": "4.9.x"
},
"dependencies": {
"@sozialhelden/ietf-language-tags": "^3.2.4",
"@sozialhelden/simpl-schema": "^3.4.1-export-all-types",
"@types/lodash-es": "^4.17.6",
"intersperse": "^1.0.0",
"js-quantities": "^1.7.6",
"kind-of": "^6.0.3",
"lodash-es": "^4.17.21",
"markdown-table": "^2.0.0",
"marked": "^4.0.10"
}
}