UNPKG

@alaskaairux/auro-button

Version:
187 lines (186 loc) 6.41 kB
{ "//": [ "================================================================================", "# To work within the development environment, run the following tasks", " 1. $ npm run dev", " 2. $ npm run serve", " 3. Go to http://localhost:3001", "================================================================================" ], "name": "@alaskaairux/auro-button", "version": "6.4.0", "description": "Auro custom auro-button element", "author": "Product design and research", "repository": { "type": "git", "url": "https://github.com/AlaskaAirlines/auro-button" }, "main": "index.js", "license": "Apache-2.0", "engines": { "node": ">=14" }, "dependencies": { "@alaskaairux/auro-loader": "^1.1.1", "chalk": "^4.1.2", "lit-element": "^2.5.1", "lit-html": "^1.0.0" }, "peerDependencies": { "@alaskaairux/auro-button": "^6.0.0", "@alaskaairux/design-tokens": "^3.9.1", "@alaskaairux/icons": "^4.0.3", "@alaskaairux/webcorestylesheets": "^3.0.0", "@webcomponents/webcomponentsjs": "^2.5.0", "focus-visible": "^5.2.0" }, "devDependencies": { "@alaskaairux/design-tokens": "^3.9.1", "@alaskaairux/icons": "^4.8.3", "@alaskaairux/webcorestylesheets": "^3.6.2", "@babel/core": "^7.15.0", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-transform-runtime": "^7.15.0", "@babel/preset-env": "^7.15.0", "@babel/runtime": "^7.15.3", "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "@open-wc/testing": "^2.5.33", "@open-wc/testing-karma": "^4.0.9", "@rollup/plugin-alias": "^3.1.5", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-node-resolve": "^11.2.1", "@semantic-release/changelog": "^5.0.1", "@semantic-release/git": "^9.0.0", "@semantic-release/npm": "^7.1.3", "@web/dev-server": "^0.1.21", "@webcomponents/webcomponentsjs": "^2.6.0", "autoprefixer": "^10.3.1", "babel-loader": "^8.2.2", "compression": "^1.7.4", "concat": "^1.0.3", "copyfiles": "^2.4.1", "core-js": "^3.16.1", "eslint": "^7.32.0", "eslint-plugin-lit": "^1.5.1", "focus-visible": "^5.2.0", "husky": "^4.3.8", "lodash": "^4.17.21", "marked": "^4.0.10", "nodemon": "^2.0.12", "npm-run-all": "^4.1.5", "postcss": "^8.3.6", "postcss-custom-properties": "^11.0.0", "postcss-discard-comments": "^4.0.2", "postcss-rem-to-pixel": "^4.1.2", "postcss-remove-rules": "^1.0.0", "postcss-selector-replace": "^1.0.2", "prismjs": "^1.24.1", "rollup": "^2.56.2", "rollup-plugin-minify-html-literals": "^1.2.6", "rollup-plugin-serve": "^1.1.0", "rollup-plugin-terser": "^7.0.2", "semantic-release": "^19.0.3", "sinon": "^9.2.4", "stylelint": "^13.13.1", "stylelint-config-standard": "^20.0.0", "wc-sass-render": "^1.2.3", "web-component-analyzer": "^1.1.6", "webpack-merge": "^5.8.0", "whatwg-fetch": "^3.6.2" }, "browserslist": [ "last 2 Chrome versions", "last 2 iOS major versions", "ie 11", "last 2 Firefox versions", "last 2 Edge versions", "last 2 Safari major versions" ], "scripts": { "build": "npm run ciBuild", "apiBuild": "wca analyze 'src/auro-button.js' --outFiles docs/api.md", "bundler": "rollup -c", "bundle:test": "rollup -c -w", "serve": "web-dev-server --open demo/ --node-resolve --watch", "postinstall": "node packageScripts/postinstall.js", "cssLint": "stylelint './src/*.css'", "dev": "npm run sassBuild:watch", "distJS": "copyfiles -u 1 -V './src/**/*.js' ./dist", "sassRender": "npm-run-all sassRender:shadowDomCSS sassRender:lightDomCSS", "sassRender:shadowDomCSS": "sass-render src/*.css -t ./scripts/staticStyles-template.js", "sassRender:lightDomCSS": "sass-render src/*-ld.scss", "sweep": "rm -rf ./temp ./demo/css ./demo/fonts ./dist ./src/tokens | rm ./src/*.css ./src/*-css.js", "esLint": "./node_modules/.bin/eslint src/auro-*.js", "lint": "npm-run-all cssLint esLint", "test": "karma start --coverage", "test:watch": "karma start --auto-watch=true --single-run=false", "test:ci": "npm-run-all test lint", "ciBuild": "npm-run-all sassBuild sassRender distJS bundler postinstall apiBuild", "sassBuild": "npm-run-all sassBuild:demo sassBuild:component postCss:component sassRender", "sassBuild:dev": "npm-run-all sassBuild:demo sassBuild:component postCss:component sassRender", "sassBuild:demo": "node-sass ./demo/sass/ --output ./demo/css/", "sassBuild:component": "node-sass ./src/ --output ./src/", "sassBuild:watch": "nodemon -e scss --watch src --exec npm run sassBuild:dev", "postCss:component": "node ./scripts/postCss.js", "demo:rmBuild": "rm -rf ./build", "demo:newBuild": "mkdir ./build && mkdir ./build/css && mkdir ./build/demo", "demo:copyDemo": "copyfiles -u 1 -V './demo/demo.md' ./build/demo", "demo:copyIndex": "copyfiles -u 1 -V './demo/index.html' ./build", "demo:updateIndex": "node ./scripts/prepForBuild", "demo:build": "npm-run-all ciBuild demo:rmBuild demo:newBuild demo:copyIndex demo:copyDemo demo:updateIndex" }, "husky": { "hooks": { "pre-commit": "npm-run-all test esLint bundler apiBuild postinstall", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "release": { "branch": "master", "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", [ "@semantic-release/changelog", { "changelogFile": "./CHANGELOG.md", "changelogTitle": "# Semantic Release Automated Changelog" } ], "@semantic-release/npm", [ "@semantic-release/git", { "assets": [ "./CHANGELOG.md", "package.json", "src/version.js" ] } ], "@semantic-release/github" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "publishConfig": { "access": "public" }, "contributors": [ { "name": "James Jackson", "email": "james.jackson2@alaskaair.com" } ], "keywords": [ "alaska airlines", "auro", "design system", "web components" ] }