-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.67 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
{
"name": "patternlab-parcel",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "jest --watch",
"pl:build": "patternlab build --config ./patternlab-config.json",
"pl:help": "patternlab --help",
"pl:install": "patternlab install --config ./patternlab-config.json",
"pl:serve": "patternlab serve --config ./patternlab-config.json",
"pl:version": "patternlab --version",
"dev": "concurrently --names \"PATTERNLAB,PARCEL,JEST\" -c \"bgBlue.bold,bgMagenta.bold,bgYellow.bold\" \"npm run pl:serve\" \"npm run parcel\" \"npm test\"",
"parcel": "parcel watch --target css:dev --target js:dev",
"parcel:build": "parcel build --target css:prod --target js:prod",
"prebuild": "trash ./dist",
"build": "npm run parcel:build && NODE_ENV=production npm run svg",
"postbuild": "node ./build-scripts/postbuild && trash ./.build-cache",
"svg": "node ./build-scripts/svg.js",
"release": "npm version $npm_config_bump --no-git-tag-version && npm run build",
"prepare": "husky install",
"patternlab": "patternlab"
},
"keywords": [],
"author": "",
"license": "GPL-3.0-or-later",
"dependencies": {
"@pattern-lab/cli": "^5.17.0",
"@pattern-lab/core": "^5.17.0",
"@pattern-lab/engine-handlebars": "^5.16.4",
"@pattern-lab/uikit-workshop": "^5.17.0"
},
"devDependencies": {
"@babel/core": "7.20.12",
"@babel/preset-env": "7.20.2",
"@commitlint/cli": "17.4.0",
"@commitlint/config-conventional": "17.4.0",
"@hail2u/css-mqpacker": "github:hail2u/node-css-mqpacker#v9.0.1",
"@parcel/transformer-sass": "2.8.2",
"autoprefixer": "10.4.13",
"babel-jest": "29.3.1",
"concurrently": "7.6.0",
"css-declaration-sorter": "6.3.1",
"cssbeautify": "0.3.1",
"cssnano": "5.1.14",
"husky": "8.0.3",
"jest": "29.3.1",
"parcel": "2.8.2",
"postcss": "8.4.20",
"postcss-prefix-selector": "1.16.0",
"svg-sprite": "2.0.2",
"trash-cli": "5.0.0"
},
"targets": {
"css:dev": {
"source": [
"source/scss/style.scss",
"source/scss/pattern-scaffolding.scss"
],
"distDir": "source/css/"
},
"css:prod": {
"source": [
"source/scss/style.scss"
],
"sourceMap": false,
"distDir": ".build-cache"
},
"js:dev": {
"source": [
"source/js/global.js"
],
"distDir": "source/js/build"
},
"js:prod": {
"source": [
"source/js/global.js"
],
"sourceMap": false,
"distDir": ".build-cache"
}
},
"namespace": "",
"jest": {
"rootDir": "source"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"icons": true
}