-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
124 lines (124 loc) · 5.51 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
120
121
122
123
124
{
"name": "@posten/hedwig",
"version": "11.13.4",
"publishConfig": {
"access": "public"
},
"description": "Bring Design System",
"author": "Posten Norge AS",
"repository": {
"type": "git",
"url": "git+https://github.com/bring/hedwig"
},
"contributors": [
{
"name": "Fredrik Jensen (Netlife Research)"
},
{
"name": "Bård N. Hovde (Netlife Research)"
},
{
"name": "Leif Riksheim (Netlife Research)"
},
{
"name": "Elisabeth Irgens"
},
{
"name": "Viggo Normann"
},
{
"name": "Simen Øian Gjermundsen"
}
],
"license": "BSD-2-Clause",
"main": "dist/main.js",
"scripts": {
"dev": "concurrently \"npm run watcher --scripts-prepend-node-path\" \"npm run server --scripts-prepend-node-path\"",
"build": "rm -Rf dist && npm run concatcss && npm run css:build && npm run js:build && npm run svg",
"release": "npm run build && rm -rf node_modules && np && npm run cache:purge:jsdelivr",
"css:build": "npm run css:build:bring && npm run css:build:posten",
"css:build:test": "npm run css:build:bring:test & npm run css:build:posten:test",
"css:build:bring": "postcss tmp/bring.css --no-map cssnano -o ./dist/bring.css -c postcss.config.js",
"css:build:posten": "postcss tmp/posten.css --no-map cssnano -o ./dist/posten.css -c postcss.config.js",
"css:dev:bring": "postcss tmp/bring.css -o ./dist/bring.css -c postcss.config.js",
"css:dev:posten": "postcss tmp/posten.css -o ./dist/posten.css -c postcss.config.js",
"js:build": "npm run js:build:main && npm run js:build:icons",
"js:build:main": "rollup -c --name \"hedwig\"",
"js:build:icons": "rollup -c rollup.config.icons.js",
"js:dev": "rollup -m inline -c --name \"hedwig\"",
"watcher": "node ./scripts/watcher",
"server": "node ./server",
"test": "jest",
"svg:min": "svgo -f ./assets/icons -o ./dist/icons",
"svg:sprite": "node ./scripts/svg-sprite",
"svg": "npm run svg:min && npm run svg:sprite",
"concatcss": "node ./scripts/concatcss",
"css:fix": "stylelint 'src/**/*.css' --fix",
"cache:purge:jsdelivr": "npm run cache:purge:jsdelivr:svg && npm run cache:purge:jsdelivr:iconsjs && npm run cache:purge:jsdelivr:css:bring && npm run cache:purge:jsdelivr:css:posten && npm run cache:purge:jsdelivr:js && npm run cache:purge:jsdelivr:js:default",
"cache:purge:jsdelivr:svg": "curl -X POST https://purge.jsdelivr.net/ -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{\"path\": [\"/npm/@posten/hedwig@11/dist/svg-sprite.svg\",\"/npm/@posten/hedwig@latest/dist/svg-sprite.svg\"]}'",
"cache:purge:jsdelivr:iconsjs": "curl -X POST https://purge.jsdelivr.net/ -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{\"path\": [\"npm/@posten/hedwig@11/dist/icons.min.js\",\"npm/@posten/hedwig@latest/dist/icons.min.js\"]}'",
"cache:purge:jsdelivr:css:bring": "curl -X POST https://purge.jsdelivr.net/ -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{\"path\": [\"npm/@posten/hedwig@11/dist/bring.css\",\"npm/@posten/hedwig@latest/dist/bring.css\"]}'",
"cache:purge:jsdelivr:css:posten": "curl -X POST https://purge.jsdelivr.net/ -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{\"path\": [\"npm/@posten/hedwig@11/dist/posten.css\",\"npm/@posten/hedwig@latest/dist/posten.css\"]}'",
"cache:purge:jsdelivr:js": "curl -X POST https://purge.jsdelivr.net/ -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{\"path\": [\"npm/@posten/hedwig@11/dist/main.js\",\"npm/@posten/hedwig@latest/dist/main.js\"]}'",
"cache:purge:jsdelivr:js:default": "curl -X POST https://purge.jsdelivr.net/ -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{\"path\": [\"npm/@posten/hedwig@latest\"]}'"
},
"dependencies": {
"@babel/runtime": "^7.10.0",
"@babel/runtime-corejs3": "^7.12.5",
"core-js": "^3.37.1",
"cssnano": "^4.1.10",
"express": "^4.17.1",
"glob": "^7.1.6",
"npm": "^8.3.1",
"postcss-extend": "^1.0.5",
"postcss-import": "^14.0.0",
"postcss-nested": "^4.2.1",
"postcss-preset-env": "^6.7.0",
"sanitize.css": "^12.0.1",
"stickybits": "^3.7.7",
"zenscroll": "^4.0.2"
},
"engines": {
"node": "16.14.0",
"npm": "8.3.1"
},
"browserslist": [
"> 0.5%",
"ie > 11"
],
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/plugin-transform-arrow-functions": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/plugin-transform-spread": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-brands-svg-icons": "^6.4.0",
"@fortawesome/pro-light-svg-icons": "^6.4.0",
"@fortawesome/pro-regular-svg-icons": "^6.4.0",
"@fortawesome/pro-solid-svg-icons": "^6.4.0",
"babel-jest": "^26.6.3",
"browserslist": "^4.12.0",
"concurrently": "^6.0.1",
"dotenv": "^8.2.0",
"eslint": "^7.17.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.22.1",
"jest": "^26.6.3",
"lodash": "^4.17.15",
"node-watch": "^0.7.1",
"np": "^7.4.0",
"postcss": "^8.2.4",
"postcss-cli": "^8.3.1",
"rollup": "^2.36.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-multi-entry": "^2.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-uglify": "^6.0.4",
"stylelint": "^13.8.0",
"stylelint-config-standard": "^22.0.0",
"svg2sprite": "^2.0.1",
"svgo": "^1.3.2"
}
}