forked from penske-media-corp/pmc-larva
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 4.49 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
{
"name": "@penskemediacorp/pmc-larva",
"version": "1.58.3",
"engines": {
"node": "^18"
},
"scripts": {
"test": "./node_modules/.bin/jest --forceExit",
"larva": "packages/larva/bin/larva.js server --watch ./ -e twig,js,html",
"backstop": "backstop --config=node_modules/@penskemediacorp/backstopjs-config",
"prod": "npm run prod:scss && npm run prod:js && npm run build-icons && npm run build-tokens && npm run sync-build",
"prod:scss": "npm --prefix=packages/larva-css run build && packages/larva/bin/larva.js prod-scss --generate-important-variants && npm run sync-build",
"prod:js": "npm run --prefix=packages/larva-js build && packages/larva/bin/larva.js prod-js && npm run sync-build",
"dev": "concurrently \"npm:dev:scss\" \"npm:dev:js\" --raw",
"dev:scss": "packages/larva/bin/larva.js dev-scss",
"dev:js": "packages/larva/bin/larva.js dev-js",
"lint": "npm run lint:js && npm run lint:scss",
"lint:scss": "packages/larva/bin/larva.js lint-scss",
"lint:js": "packages/larva/bin/larva.js lint-js ./",
"lint-fix": "packages/larva/bin/larva.js lint-scss --fix && npm run lint:js --fix",
"lint-fix:scss": "packages/larva/bin/larva.js lint-scss --fix",
"lint-fix:js": "packages/larva/bin/larva.js lint-js ./ --fix",
"write-json": "packages/larva/bin/larva.js write-json larva && packages/larva/bin/larva.js write-json",
"build-vercel": "sh scripts/build-vercel.sh",
"build-icons": "packages/larva/bin/larva.js build-icons",
"build-svg": "svgo -f src/svg -o build/svg",
"build-html": "packages/larva/bin/larva.js build-html larva && packages/larva/bin/larva.js build-html project",
"build-tokens": "sh scripts/tokens.sh",
"sync-tokens": "rm -rf build/tokens/* && mkdir -p build/tokens && cp -r packages/larva-tokens/build/* build/tokens/",
"sync-public": "rm -rf packages/larva/public/* && mkdir -p packages/larva/public && cp -r public/* packages/larva/public/",
"sync-built-js": "rm -rf build/js/standalone/* && mkdir -p build/js/standalone && cp -r packages/larva-js/build/* build/js/standalone/",
"sync-build": "npm run sync-public && npm run sync-tokens && npm run sync-built-js && rm -rf packages/larva/build/* && mkdir -p packages/larva/build && cp -r build/* packages/larva/build/",
"link-all": "npm run prod && npm run link-larva && npm run link-patterns && npm run link-css && npm run link-js",
"link-larva": "cd packages/larva && npm link",
"link-patterns": "cd packages/larva-patterns && npm link",
"link-css": "cd packages/larva-css && npm link",
"link-js": "cd packages/larva-js && npm link"
},
"bin": {
"larva": "packages/larva/bin/larva.js"
},
"files": [
"build",
"packages",
"public",
"larva.config.js"
],
"//": "DEPENDENCIES NOTES: Do not upgrade globby past 11 unless migrating entire app to module 'type'",
"dependencies": {
"@babel/core": "^7",
"@babel/preset-env": "^7",
"@penskemediacorp/backstopjs-config": "file:packages/backstopjs-config",
"@penskemediacorp/eslint-config": "file:packages/eslint-config",
"@penskemediacorp/larva": "file:packages/larva",
"@penskemediacorp/larva-css": "file:packages/larva-css",
"@penskemediacorp/larva-js": "file:packages/larva-js",
"@penskemediacorp/larva-patterns": "file:packages/larva-patterns",
"@penskemediacorp/larva-scss": "file:packages/larva-scss",
"@penskemediacorp/larva-svg": "file:packages/larva-svg",
"@penskemediacorp/larva-tokens": "file:packages/larva-tokens",
"@penskemediacorp/stylelint-config": "file:packages/stylelint-config",
"axios": "^1",
"babel-loader": "^9",
"chalk": "^4",
"clean-webpack-plugin": "^4",
"concurrently": "^8",
"cross-spawn": "^7",
"eslint": "^8",
"eslint-plugin-jest": "^27",
"exec-php": "^0",
"express": "^4",
"flickity": "^2",
"fs-extra": "^11",
"globby": "^11",
"gulp": "^4",
"gulp-clean": "^0",
"gulp-cli": "^2",
"gulp-concat": "^2",
"gulp-postcss": "^9",
"gulp-sass": "^5",
"gulp-stylelint": "^13",
"jest": "^29",
"jsdom": "^22",
"lerna": "^8",
"lodash.clonedeep": "^4",
"marked": "^9",
"node-sass": "^9",
"node-sass-glob-importer": "^5",
"nodemon": "^3",
"prettier": "npm:wp-prettier@^3",
"sass-true": "^7",
"stylelint": "^13",
"svg-sprite": "^2",
"svgo": "^3",
"through2": "^4",
"twing": "^5",
"webpack": "^5",
"webpack-cli": "^5"
},
"devDependencies": {
"backstopjs": "^6",
"eslint-config-prettier": "^9"
}
}