UNPKG

@freshworks/crayons

Version:
122 lines (121 loc) 4.13 kB
{ "name": "@freshworks/crayons", "repository": { "type": "git", "url": "https://github.com/freshworks/crayons.git" }, "keywords": [ "crayons", "webcomponents", "stencil", "stenciljs", "design system", "ui-kit", "freshworks", "typescript" ], "author": "Freshworks Inc", "version": "3.5.1", "description": "Crayons Web Components library", "main": "dist/index.cjs.js", "module": "dist/index.js", "es2015": "dist/esm/index.mjs", "es2017": "dist/esm/index.mjs", "types": "dist/types/index.d.ts", "collection": "dist/collection/collection-manifest.json", "collection:main": "dist/collection/index.js", "unpkg": "dist/crayons/crayons.js", "files": [ "dist/", "loader/", "www/", "react/", "css/" ], "scripts": { "add:react": "npm run clean:react && npx mkdirp react", "add:css": "npm run clean:css && npx mkdirp css", "a11y:install": "npm i -g @axe-core/cli", "a11y:run": "wait-on -d 30000 http://localhost:3333/ && axe http://localhost:3333 --show-errors --exit --tags wcag2aa", "a11y": "run-p start a11y:install a11y:run", "build:autoprefix": "postcss css/*.css --use autoprefixer --dir css", "build:components": "stencil build --docs", "build:mincss": "cleancss -b css/*.css css", "build:react": "npm run file:util && tsc --project tsconfig-react.json", "build:scss": "node-sass --include-path node_modules --include-path ../../node_modules --output-style compressed --recursive ../../styles/global/ -o css", "build:styles": "npm run build:scss && npm run build:autoprefix && npm run build:mincss && npx copy css/crayons-min.css ../../www/.vuepress/public", "build": "npm run add:react && npm run add:css && npm run build:components && npm run build:react && npm run build:styles", "clean:css": "rimraf css", "clean:react": "rimraf react", "code-sanity": "npm run lint", "commit": "git-cz", "dev": "npm run start", "file:util": "node fileutil", "generate": "plop", "local": "stencil build --dev --watch", "prestart": "kill-port 3333", "semantic-release": "semantic-release", "start": "stencil build --dev --watch --serve --port=3333", "storybook:start": "wait-on -d 30000 loader/index.js && start-storybook -p 9001 -c .storybook", "storybook": "run-p local storybook:start", "test:watch": "stencil test --spec --e2e --watchAll --verbose", "test": "stencil test --spec --e2e", "test:ci": "stencil test --spec --ci --e2e --max-workers=2" }, "devDependencies": { "@babel/core": "^7.13.16", "@semantic-release/changelog": "^5.0.1", "@semantic-release/git": "^9.0.0", "@stencil/sass": "^1.4.1", "@types/jest": "^26.0.22", "@types/node": "^14.0.10", "@types/puppeteer": "^5.4.3", "@types/react": "^17.0.22", "@types/react-dom": "^17.0.9", "autoprefixer": "^10.3.7", "babel-loader": "^8.2.2", "clean-css-cli": "^5.4.1", "gulp": "^4.0.2", "jest": "24.9.0", "jest-cli": "24.9.0", "node-sass": "^6.0.0", "npm-run-all": "^4.1.5", "plop": "^2.7.4", "postcss": "^8.3.9", "postcss-cli": "^9.0.1", "puppeteer": "^13.0.1", "react": "^17.0.2", "react-docgen-typescript-loader": "^3.7.2", "react-dom": "^17.0.2", "react-is": "^17.0.2", "react-output-target": "^0.0.9", "sass-loader": "^10.2.1", "semantic-release": "^17.4.2", "ts-loader": "9.2.1", "typescript": "^4.2.4", "uuid": "^8.3.2", "web-component-analyzer": "^1.1.6", "workbox-build": "^4.3.1", "yup": "^0.32.11" }, "license": "MIT", "dependencies": { "@freshworks/crayons-i18n": "^3.1.2", "@popperjs/core": "^2.10.2", "@stencil/core": "2.9.0", "date-fns": "^2.28.0", "multi-nprogress": "0.3.5" }, "peerDependencies": { "yup": "^0.32.11" }, "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/freshworks/crayons/issues" }, "homepage": "https://github.com/freshworks/crayons#readme", "sideEffects": false, "gitHead": "49fc6793d864231bb4777a31b8ec3ceebe9b971f" }