/
package.json
69 lines (69 loc) · 2.23 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
{
"name": "@navikt/nav-dekoratoren-moduler",
"version": "2.1.6",
"description": "Moduler til nav-dekoratoren",
"author": "NAVIKT",
"license": "MIT",
"repository": "navikt/nav-dekoratoren-moduler",
"main": "csr/index.js",
"module": "csr/index.js",
"source": "src/csr/index.tsx",
"engines": {
"node": ">=18"
},
"scripts": {
"start": "npm-run-all --parallel start:*",
"build": "npm-run-all --parallel build:*",
"test": "jest",
"start:csr": "rollup -c rollup.config.csr.js --bundleConfigAsCjs -w",
"start:ssr": "rollup -c rollup.config.ssr.js --bundleConfigAsCjs -w",
"build:csr": "rollup -c rollup.config.csr.js",
"build:ssr": "rollup -c rollup.config.ssr.js",
"lint": "eslint src/",
"predeploy": "cd example && npm install && npm run build",
"publish:beta": "npm run build && npm version prerelease --preid beta && npm publish --access public --tag beta"
},
"dependencies": {
"csp-header": "^5.1.0",
"html-react-parser": "^3.0.16",
"node-cache": "^5.1.2"
},
"comments": {
"jsdom": "More recent versions crashes when parsing in some environments (for unknown reasons). Keep 16.x as minimum for now, and consider switching to a different parser."
},
"peerDependencies": {
"jsdom": ">=16.x",
"react": "17.x || 18.x"
},
"devDependencies": {
"@rollup/plugin-terser": "0.4.1",
"@types/jest": "29.5.1",
"@types/jsdom": "21.1.1",
"@types/node": "18.16.3",
"@types/react": "18.2.0",
"eslint": "8.39.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-react": "7.32.2",
"jest": "29.5.0",
"jest-fetch-mock": "3.0.3",
"jest-watch-typeahead": "2.2.2",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"rollup": "3.21.3",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-ts": "3.2.0",
"ts-jest": "29.1.0",
"tslib": "2.5.0",
"typescript": "5.0.4"
},
"files": [
"csr",
"ssr"
],
"browser": {
"child_process": false
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}