@cloudfour/patterns
Version:
Front-end patterns for cloudfour.com
163 lines (162 loc) • 4.89 kB
JSON
{
"name": "@cloudfour/patterns",
"version": "17.0.1",
"author": "Cloud Four",
"description": "Front-end patterns for cloudfour.com",
"homepage": "https://github.com/cloudfour/cloudfour.com-patterns",
"license": "MIT",
"keywords": [
"pattern",
"styleguide",
"component",
"framework",
"boilerplate",
"html",
"ui",
"css",
"bem",
"typography"
],
"engines": {
"node": ">=12.16.3"
},
"repository": {
"type": "git",
"url": "https://github.com/cloudfour/cloudfour.com-patterns.git"
},
"main": "./dist/cloudfour-patterns.js",
"unpkg": "./dist/cloudfour-patterns.min.js",
"module": "./dist/cloudfour-patterns.mjs",
"exports": "./dist/cloudfour-patterns.mjs",
"types": "./dist/cloudfour-patterns.d.ts",
"files": [
"/dist",
"/src/compiled/tokens",
"/src/**/*.scss",
"/src/**/*.twig",
"!/src/**/demo/**/*.twig",
"/src/assets",
"!.gitignore",
"!src/index.scss"
],
"devDependencies": {
"@babel/core": "7.26.9",
"@babel/preset-env": "7.26.9",
"@changesets/changelog-github": "0.5.1",
"@changesets/cli": "2.28.1",
"@cloudfour/eslint-plugin": "21.1.0",
"@etchteam/storybook-addon-status": "4.2.2",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@storybook/addon-a11y": "6.5.9",
"@storybook/addon-docs": "6.5.9",
"@storybook/addon-essentials": "6.5.9",
"@storybook/addon-postcss": "2.0.0",
"@storybook/html": "6.5.9",
"@svgr/webpack": "5.5.0",
"@types/jest": "28.1.8",
"@types/lodash": "4.17.15",
"@whitespace/storybook-addon-html": "5.0.0",
"@wordpress/block-library": "3.2.21",
"babel-loader": "8.4.1",
"browserify-transform-tools": "1.7.0",
"css-loader": "5.2.7",
"cssnano": "5.1.15",
"eliminate": "1.1.2",
"eslint": "8.33.0",
"eslint-plugin-mdx": "1.17.1",
"eslint-plugin-react": "7.37.4",
"gulp": "4.0.2",
"gulp-postcss": "9.0.1",
"gulp-rename": "2.0.0",
"gulp-run": "1.7.1",
"gulp-sass": "5.1.0",
"gulp-svgmin": "3.0.0",
"highlight.js": "11.11.1",
"html-to-react": "1.4.8",
"jabber": "1.5.3",
"jest": "28.1.3",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"ltx": "3.1.2",
"mini-css-extract-plugin": "1.6.2",
"npm-run-all2": "5.0.2",
"pleasantest": "3.1.0",
"postcss": "8.5.3",
"postcss-inline-svg": "4.1.0",
"postcss-loader": "4.3.0",
"postcss-media-minmax": "5.0.0",
"prettier": "2.8.8",
"raw-loader": "4.0.2",
"react": "17.0.2",
"react-syntax-highlighter": "13.5.3",
"remark-preset-lint-recommended": "5.0.0",
"remark-preset-prettier": "0.5.1",
"resolve": "1.22.10",
"rollup": "2.79.2",
"rollup-plugin-dts": "4.2.3",
"@rollup/plugin-terser": "0.4.4",
"sass": "1.85.1",
"sass-loader": "10.5.2",
"storybook-addon-outline": "1.4.2",
"storybook-mobile": "1.0.1",
"style-dictionary": "3.9.2",
"style-loader": "2.0.0",
"stylelint": "14.16.1",
"stylelint-config-cloudfour": "6.1.0",
"stylelint-config-prettier": "9.0.5",
"stylelint-scss": "4.7.0",
"stylelint-use-logical-spec": "4.1.0",
"through2": "4.0.2",
"tiny-glob": "0.2.9",
"twing": "3.1.1",
"twing-loader": "3.0.1",
"typescript": "4.9.5",
"val-loader": "2.1.2",
"webpack": "4.47.0"
},
"scripts": {
"start": "npm run storybook",
"storybook": "npm run preprocess && run-p watch start-storybook",
"start-storybook": "start-storybook -p 6006",
"build-storybook": "npm run preprocess && build-storybook",
"preprocess": "run-p preprocess:*",
"preprocess:svg-to-twig": "gulp svgToTwig",
"preprocess:tokens": "node .style-dictionary/build.js",
"watch": "run-p watch:*",
"watch:preprocess": "gulp watchPreprocess",
"build": "run-s clean preprocess && run-p build:*",
"build:types": "npm run type && gulp buildTypes",
"build:js": "gulp buildJS",
"build:sass": "gulp buildSass",
"clean": "eliminate dist",
"type": "tsc",
"type:watch": "tsc --watch",
"lint": "run-s lint:js lint:css lint:prettier",
"lint:check": "run-s lint:*:check",
"lint:js": "eslint . --fix",
"lint:js:check": "eslint .",
"lint:css": "stylelint --fix '**/*.scss'",
"lint:css:check": "stylelint '**/*.scss'",
"lint:prettier": "prettier . --write",
"lint:prettier:check": "prettier . --check",
"test": "jest",
"test:watch": "jest --watch",
"validate": "run-s build test lint:check type",
"version": "changeset version && prettier --write .",
"release": "npm run build && changeset publish"
},
"jest": {
"testTimeout": 15000,
"setupFilesAfterEnv": [
"./jest.setup.js"
],
"moduleNameMapper": {
"^(.+)\\.js$": [
"$1.js",
"$1.ts"
]
}
}
}