|
1 | 1 | {
|
2 |
| - "private": true, |
3 |
| - "name": "spectrum-css-monorepo", |
4 |
| - "version": "0.0.0", |
5 |
| - "license": "Apache-2.0", |
6 |
| - "author": "Adobe", |
7 |
| - "contributors": [ |
8 |
| - "Cassondra Roberts <castastrophe@users.noreply.github.com> (https://allons-y.llc)", |
9 |
| - "Garth Braithwaite <garthdb@gmail.com> (https://garthdb.com)", |
10 |
| - "Larry Davis <lazdnet@gmail.com>", |
11 |
| - "Patrick Fulton <pfulton@users.noreply.github.com>", |
12 |
| - "Steve Gill <stevengill97@gmail.com>" |
13 |
| - ], |
14 |
| - "homepage": "https://opensource.adobe.com/spectrum-css/", |
15 |
| - "repository": { |
16 |
| - "type": "git", |
17 |
| - "url": "https://github.com/adobe/spectrum-css.git" |
18 |
| - }, |
19 |
| - "bugs": { |
20 |
| - "url": "https://github.com/adobe/spectrum-css/issues" |
21 |
| - }, |
22 |
| - "scripts": { |
23 |
| - "build": "yarn build:components", |
24 |
| - "build:all": "run-s build:components build:site build:preview", |
25 |
| - "postbuild:all": "yarn mv:preview", |
26 |
| - "build:clean": "run-s clean build", |
27 |
| - "build:components": "lerna run --scope \"${SCOPE:-@spectrum-css/*}\" --ignore \"@spectrum-css/{*-builder*,preview,generator}\" build", |
28 |
| - "postbuild:components": "yarn docs:mod", |
29 |
| - "build:preview": "nx build @spectrum-css/preview", |
30 |
| - "build:site": "gulp buildDocs -LLL", |
31 |
| - "cache:clean": "nx reset", |
32 |
| - "ci": "yarn build:all", |
33 |
| - "ci:storybook": "nx storybook @spectrum-css/preview", |
34 |
| - "clean": "yarn cache:clean && run-p clean:*", |
35 |
| - "clean:components": "lerna exec --scope \"${SCOPE:-@spectrum-css/*}\" --ignore \"@spectrum-css/{*-builder*,preview,generator}\" -- rimraf dist", |
36 |
| - "clean:docs": "rimraf dist", |
37 |
| - "clean:preview": "nx clean @spectrum-css/preview", |
38 |
| - "predev": "yarn build:components", |
39 |
| - "dev": "NODE_ENV=development BROWSERSYNC_OPEN=true gulp dev", |
40 |
| - "docs:mod": "node tasks/mod-extractor.js", |
41 |
| - "lint:components": "node ./tasks/packageLint.js", |
42 |
| - "mv:preview": "rimraf dist/preview && mv -f tools/preview/storybook-static dist/preview", |
43 |
| - "new": "nx run @spectrum-css/generator:new", |
44 |
| - "precommit": "lint-staged", |
45 |
| - "prepare": "husky install", |
46 |
| - "prepare:site": "run-s clean:docs build:all", |
47 |
| - "prerelease": "yarn version:build", |
48 |
| - "release": "lerna publish", |
49 |
| - "release:beta-from-package": "yarn release from-package --conventional-prerelease --preid beta --pre-dist-tag beta --no-private", |
50 |
| - "prerelease:site": "yarn prepare:site", |
51 |
| - "release:site": "gh-pages -d dist/ -f -e .", |
52 |
| - "prestart": "yarn build:components", |
53 |
| - "start": "NODE_ENV=development yarn workspace @spectrum-css/preview start", |
54 |
| - "test": "nx test @spectrum-css/preview", |
55 |
| - "test:scope": "nx test:scope @spectrum-css/preview", |
56 |
| - "version:build": "lerna run --since origin/main build", |
57 |
| - "watch": "gulp watch" |
58 |
| - }, |
59 |
| - "workspaces": [ |
60 |
| - "components/*", |
61 |
| - "tools/*" |
62 |
| - ], |
63 |
| - "devDependencies": { |
64 |
| - "@adobe/focus-ring-polyfill": "^0.1.5", |
65 |
| - "@commitlint/cli": "^17.6.3", |
66 |
| - "@commitlint/config-conventional": "^17.6.3", |
67 |
| - "gh-pages": "^5.0.0", |
68 |
| - "gulp": "^4.0.0", |
69 |
| - "gulp-replace": "^1.0.0", |
70 |
| - "gulplog": "^1.0.0", |
71 |
| - "husky": "^8.0.3", |
72 |
| - "lerna": "^6.6.2", |
73 |
| - "lint-staged": "^13.2.2", |
74 |
| - "loadicons": "^1.0.0", |
75 |
| - "lunr": "^2.3.6", |
76 |
| - "markdown-it": "^12.3.2", |
77 |
| - "npm-run-all": "^4.1.5", |
78 |
| - "nx": "^16.2.2", |
79 |
| - "prettier": "^2.8.8", |
80 |
| - "prettier-package-json": "^2.8.0", |
81 |
| - "prismjs": "^1.23.0", |
82 |
| - "rimraf": "^5.0.1", |
83 |
| - "semver": "^7.5.1", |
84 |
| - "through2": "^3.0.1", |
85 |
| - "yargs": "^17.7.2" |
86 |
| - }, |
87 |
| - "engines": { |
88 |
| - "node": ">=14.0.0 <18" |
89 |
| - }, |
90 |
| - "browserslist": [ |
91 |
| - "last 2 Edge versions", |
92 |
| - "last 2 Chrome versions", |
93 |
| - "last 2 Firefox versions", |
94 |
| - "last 2 Safari versions", |
95 |
| - "last 2 iOS versions" |
96 |
| - ], |
97 |
| - "lint-staged": { |
98 |
| - "*.{md,js,css,yml,hbs}": [ |
99 |
| - "prettier --write" |
100 |
| - ], |
101 |
| - "components/*/package.json": [ |
102 |
| - "yarn lint:components", |
103 |
| - "prettier-package-json --write" |
104 |
| - ], |
105 |
| - "package.json": [ |
106 |
| - "prettier-package-json --write" |
107 |
| - ] |
108 |
| - } |
| 2 | + "private": true, |
| 3 | + "name": "spectrum-css-monorepo", |
| 4 | + "version": "0.0.0", |
| 5 | + "license": "Apache-2.0", |
| 6 | + "author": "Adobe", |
| 7 | + "contributors": [ |
| 8 | + "Cassondra Roberts <castastrophe@users.noreply.github.com> (https://allons-y.llc)", |
| 9 | + "Garth Braithwaite <garthdb@gmail.com> (https://garthdb.com)", |
| 10 | + "Larry Davis <lazdnet@gmail.com>", |
| 11 | + "Patrick Fulton <pfulton@users.noreply.github.com>", |
| 12 | + "Steve Gill <stevengill97@gmail.com>" |
| 13 | + ], |
| 14 | + "homepage": "https://opensource.adobe.com/spectrum-css/", |
| 15 | + "repository": { |
| 16 | + "type": "git", |
| 17 | + "url": "https://github.com/adobe/spectrum-css.git" |
| 18 | + }, |
| 19 | + "bugs": { |
| 20 | + "url": "https://github.com/adobe/spectrum-css/issues" |
| 21 | + }, |
| 22 | + "scripts": { |
| 23 | + "build": "yarn build:components", |
| 24 | + "build:all": "run-s build:components build:site build:preview", |
| 25 | + "postbuild:all": "yarn mv:preview", |
| 26 | + "build:clean": "run-s clean build", |
| 27 | + "build:components": "lerna run --scope \"${SCOPE:-@spectrum-css/*}\" --ignore \"@spectrum-css/{*-builder*,preview,generator}\" build", |
| 28 | + "postbuild:components": "yarn docs:mod", |
| 29 | + "build:preview": "nx build @spectrum-css/preview", |
| 30 | + "build:site": "gulp buildDocs -LLL", |
| 31 | + "cache:clean": "nx reset", |
| 32 | + "ci": "yarn build:all", |
| 33 | + "ci:storybook": "nx storybook @spectrum-css/preview", |
| 34 | + "clean": "yarn cache:clean && run-p clean:*", |
| 35 | + "clean:components": "lerna exec --scope \"${SCOPE:-@spectrum-css/*}\" --ignore \"@spectrum-css/{*-builder*,preview,generator}\" -- rimraf dist", |
| 36 | + "clean:docs": "rimraf dist", |
| 37 | + "clean:preview": "nx clean @spectrum-css/preview", |
| 38 | + "predev": "yarn build:components", |
| 39 | + "dev": "NODE_ENV=development BROWSERSYNC_OPEN=true gulp dev", |
| 40 | + "docs:mod": "node tasks/mod-extractor.js", |
| 41 | + "postdocs:mod": "prettier --cache --write components/*/metadata/*.md > /dev/null", |
| 42 | + "lint:components": "node ./tasks/packageLint.js", |
| 43 | + "lint:styles": "stylelint", |
| 44 | + "mv:preview": "rimraf dist/preview && mv tools/preview/storybook-static dist/preview", |
| 45 | + "new": "nx run @spectrum-css/generator:new", |
| 46 | + "precommit": "lint-staged", |
| 47 | + "prepare": "husky install", |
| 48 | + "prepare:site": "run-s clean:docs build:all", |
| 49 | + "prerelease": "yarn version:build", |
| 50 | + "release": "lerna publish", |
| 51 | + "release:beta-from-package": "yarn release from-package --conventional-prerelease --preid beta --pre-dist-tag beta --no-private", |
| 52 | + "prerelease:site": "yarn prepare:site", |
| 53 | + "release:site": "gh-pages -d dist/ -f -e .", |
| 54 | + "prestart": "yarn build:components", |
| 55 | + "start": "NODE_ENV=development yarn workspace @spectrum-css/preview start", |
| 56 | + "test": "nx test @spectrum-css/preview", |
| 57 | + "test:scope": "nx test:scope @spectrum-css/preview", |
| 58 | + "version:build": "lerna run --since origin/main build", |
| 59 | + "watch": "gulp watch" |
| 60 | + }, |
| 61 | + "workspaces": [ |
| 62 | + "components/*", |
| 63 | + "tools/*", |
| 64 | + "plugins/*" |
| 65 | + ], |
| 66 | + "devDependencies": { |
| 67 | + "@adobe/focus-ring-polyfill": "^0.1.5", |
| 68 | + "@commitlint/cli": "^17.6.3", |
| 69 | + "@commitlint/config-conventional": "^17.6.3", |
| 70 | + "gh-pages": "^5.0.0", |
| 71 | + "gulp": "^4.0.0", |
| 72 | + "gulp-replace": "^1.0.0", |
| 73 | + "gulplog": "^1.0.0", |
| 74 | + "husky": "^8.0.3", |
| 75 | + "lerna": "^6.6.2", |
| 76 | + "lint-staged": "^13.2.2", |
| 77 | + "loadicons": "^1.0.0", |
| 78 | + "lunr": "^2.3.6", |
| 79 | + "markdown-it": "^12.3.2", |
| 80 | + "npm-run-all": "^4.1.5", |
| 81 | + "nx": "^16.2.2", |
| 82 | + "prettier": "^2.8.8", |
| 83 | + "prettier-package-json": "^2.8.0", |
| 84 | + "prismjs": "^1.23.0", |
| 85 | + "rimraf": "^5.0.1", |
| 86 | + "semver": "^7.5.1", |
| 87 | + "stylelint": "^15.5.0", |
| 88 | + "stylelint-config-standard": "^33.0.0", |
| 89 | + "stylelint-use-logical": "^2.1.0", |
| 90 | + "through2": "^3.0.1", |
| 91 | + "yargs": "^17.7.2" |
| 92 | + }, |
| 93 | + "engines": { |
| 94 | + "node": ">=14.0.0 <18" |
| 95 | + }, |
| 96 | + "browserslist": [ |
| 97 | + "last 2 Edge versions", |
| 98 | + "last 2 Chrome versions", |
| 99 | + "last 2 Firefox versions", |
| 100 | + "last 2 Safari versions", |
| 101 | + "last 2 iOS versions" |
| 102 | + ], |
| 103 | + "lint-staged": { |
| 104 | + "*.{md,js,css,yml,hbs}": [ |
| 105 | + "prettier --write --cache" |
| 106 | + ], |
| 107 | + "components/*/*.css": [ |
| 108 | + "stylelint --write" |
| 109 | + ], |
| 110 | + "components/*/package.json": [ |
| 111 | + "yarn lint:components", |
| 112 | + "prettier-package-json --write" |
| 113 | + ], |
| 114 | + "package.json": [ |
| 115 | + "prettier-package-json --write" |
| 116 | + ] |
| 117 | + } |
109 | 118 | }
|
0 commit comments