-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.26 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
{
"name": "@navikt/nav-dekoratoren-moduler",
"version": "3.2.2",
"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.mjs -w",
"start:ssr": "rollup -c rollup.config.ssr.mjs -w",
"build:csr": "rollup -c rollup.config.csr.mjs",
"build:ssr": "rollup -c rollup.config.ssr.mjs",
"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"
},
"peerDependencies": {
"csp-header": ">=5.x",
"html-react-parser": ">=5.x",
"jsdom": ">=16.x",
"react": ">=17.x"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.2",
"@types/jest": "29.5.14",
"@types/js-cookie": "3.0.6",
"@types/jsdom": "21.1.7",
"@types/mock-fs": "4.13.4",
"@types/node": "22.10.2",
"@types/react": "19.0.2",
"@typescript-eslint/eslint-plugin": "8.16.0",
"eslint": "8.57.1",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-react": "7.37.2",
"jest": "29.7.0",
"jest-fetch-mock": "3.0.3",
"jest-watch-typeahead": "2.2.2",
"jsdom": "25.0.1",
"mock-fs": "5.4.1",
"npm-run-all": "4.1.5",
"prettier": "3.4.2",
"rollup": "4.22.4",
"rollup-plugin-dts": "6.1.1",
"ts-jest": "29.2.5",
"tslib": "2.8.1",
"typescript": "5.7.2"
},
"files": [
"csr",
"ssr"
],
"browser": {
"child_process": false
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"dependencies": {
"js-cookie": "^3.0.5"
}
}