-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
119 lines (119 loc) · 4.01 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@nrk/core-icons",
"homepage": "https://static.nrk.no/core-icons/latest/",
"description": "The official icons for NRK.",
"author": "NRK <[email protected]> (https://www.nrk.no/)",
"version": "16.0.0",
"license": "SEE LICENSE IN LICENSE.txt",
"main": "core-icons.js",
"module": "core-icons.mjs",
"types": "core-icons.d.ts",
"files": [
"jsx",
"logo",
"expressive",
"preview",
"./core-icons-iife.js",
"./core-icons.js",
"./core-icons.mjs",
"./core-icons.d.ts"
],
"exports": {
".": {
"types": "./core-icons.d.ts",
"require": "./core-icons.js",
"import": "./core-icons.mjs",
"browser": "./core-icons-iife.js"
},
"./logo": {
"types": "./logo/core-icons-logo.d.ts",
"require": "./logo/core-icons-logo.js",
"import": "./logo/core-icons-logo.mjs"
},
"./logo/large": {
"types": "./logo/large/core-icons-logo-large.d.ts",
"require": "./logo/large/core-icons-logo-large.js",
"import": "./logo/large/core-icons-logo-large.mjs"
},
"./expressive": {
"types": "./expressive/core-icons-expressive.d.ts",
"require": "./expressive/core-icons-expressive.js",
"import": "./expressive/core-icons-expressive.mjs"
},
"./preview": {
"types": "./preview/core-icons-preview.d.ts",
"require": "./preview/core-icons-preview.js",
"import": "./preview/core-icons-preview.mjs"
},
"./jsx": {
"types": "./jsx/core-icons.d.ts",
"require": "./jsx/core-icons.js",
"import": "./jsx/core-icons.mjs"
},
"./jsx/logo": {
"types": "./jsx/logo/core-icons-logo.d.ts",
"require": "./jsx/logo/core-icons-logo.js",
"import": "./jsx/logo/core-icons-logo.mjs"
},
"./jsx/logo/large": {
"types": "./jsx/logo/large/core-icons-logo-large.d.ts",
"require": "./jsx/logo/large/core-icons-logo-large.js",
"import": "./jsx/logo/large/core-icons-logo-large.mjs"
},
"./jsx/expressive": {
"types": "./jsx/expressive/core-icons-expressive.d.ts",
"require": "./jsx/expressive/core-icons-expressive.js",
"import": "./jsx/expressive/core-icons-expressive.mjs"
},
"./jsx/preview": {
"types": "./jsx/preview/core-icons-preview.d.ts",
"require": "./jsx/preview/core-icons-preview.js",
"import": "./jsx/preview/core-icons-preview.mjs"
}
},
"scripts": {
"build": "node bin/build.mjs",
"build:watch": "chokidar \"./lib/**/*\" -c \"npm run build\" --initial",
"publish:patch": "npm version patch -m 'Release patch %s'",
"publish:minor": "npm version minor -m 'Release minor %s'",
"publish:major": "npm version major -m 'Release major %s'",
"lint": "standard",
"test": "attw --pack --ignore-rules false-cjs && testpack --install react,jsdom --test-script testpack-script --delete-on-fail",
"testpack-script": "node test/core-icons.test.mjs && node test/core-icons.test.js && node test/core-icons-jsx.test.mjs && node test/core-icons-jsx.test.js && node --conditions=development test/core-icons-iife.test.js",
"preversion": "npm run test",
"postversion": "npm run build && git push && git push --tags && npm publish",
"start": "npm run build:watch & http-server ./static -o -p 10001 -c-1",
"static-publish": "npm run build && static-publish --directory=static --account=nrk-core --latest --major"
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "es5"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.0",
"@nrk/svg-to-js": "3.1.0",
"@types/fs-extra": "11.0.4",
"archiver": "7.0.1",
"chokidar-cli": "3.0.0",
"fs-extra": "11.2.0",
"http-server": "14.1.1",
"jsdom": "25.0.1",
"pdfkit": "0.15.1",
"standard": "17.1.2",
"svgo": "3.3.2",
"svgson": "5.3.1",
"testpack-cli": "1.1.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nrkno/core-icons.git"
},
"dependencies": {
"svg2vectordrawable": "2.9.1"
},
"volta": {
"node": "20.8.0"
}
}