forked from AlaskaAirlines/auro-button
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
166 lines (166 loc) · 5.81 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"//": [
"================================================================================",
"The build process for Lit-Element components is currently a 2-part solution that uses Gulp and npm.",
"The primary use of Gulp is for the CSS processing that requires the generation of a CSS file and a series of PostCSS functions.",
"Aside from the Sass/PostCSS tasks, all other tasks are also avaialble directly from npm as well.",
"To keep things less confucing, all tasks share the same name between Gulp and npm.",
"",
"# To build resources to view the demo file, perform the following tasks",
" 1. $ gulp build",
" 2. $ npm run build",
" 3. $ polymer serve",
" 4. Go to http://127.0.0.1:8081",
"",
"# To work within the development environment, run the following tasks",
" 1. $ gulp dev",
" 2. $ npm run dev",
" 4. $ polymer serve",
" 3. Go to http://127.0.0.1:8081",
"================================================================================"
],
"name": "@alaskaairux/ods-button",
"version": "4.0.0",
"description": "Orion Design System Button element",
"author": "Product design and research",
"repository": {
"type": "git",
"url": "https://github.com/AlaskaAirlines/OrionStatelessComponents__ods-button"
},
"main": "index.js",
"license": "Apache-2.0",
"dependencies": {
"lit-element": "^2.2.1"
},
"peerDependencies": {
"@alaskaairux/orion-design-tokens": "^2.7.2",
"@webcomponents/webcomponentsjs": "^2.2.9",
"focus-visible": "^4.1.5"
},
"devDependencies": {
"@alaskaairux/orion-design-tokens": "^2.7.3",
"@alaskaairux/orion-web-core-style-sheets": "^2.6.13",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^7.6.0",
"@polymer/iron-demo-helpers": "^3.1.0",
"@polymer/iron-icons": "^3.0.1",
"@polymer/polymer": "^3.3.0",
"@polymer/test-fixture": "^4.0.2",
"@semantic-release/changelog": "^3.0.5",
"@semantic-release/git": "^7.0.17",
"@semantic-release/npm": "^5.3.1",
"@webcomponents/webcomponentsjs": "^2.3.0",
"autoprefixer": "^9.7.0",
"chai": "^4.2.0",
"concat": "^1.0.3",
"copyfiles": "^2.1.1",
"css-byebye": "^2.0.0",
"focus-visible": "^4.1.5",
"gulp": "^4.0.1",
"gulp-autoprefixer": "^6.0.0",
"gulp-postcss": "^8.0.0",
"gulp-sass": "^4.0.2",
"husky": "^2.7.0",
"jsonlint": "^1.6.3",
"lodash": "^4.17.15",
"mocha": "^6.2.2",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.6.0",
"postcss": "^7.0.21",
"postcss-custom-properties": "^8.0.11",
"postcss-remove-selectors": "^2.0.0",
"postcss-selector-replace": "^1.0.2",
"semantic-release": "^15.13.28",
"style-dictionary": "^2.8.2",
"styleflux": "^1.2.0",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"wc-sass-render": "^1.2.1",
"wct-mocha": "^1.0.1",
"yaml-lint": "^1.2.4"
},
"watch": {
"buildTokens": "./src/*.json",
"sassRender-w": ".src/**/*.scss"
},
"scripts": {
"build": "npm-run-all sassRender cssLint jsonLint",
"buildTokens": "node scripts/tokenScript.js",
"copyFonts": "copyfiles -f ./node_modules/@alaskaairux/orion-web-core-style-sheets/dist/fonts/*.* ./demo/fonts/",
"cssLint": "stylelint './src/style.css'",
"dev": "npm-watch buildTokens | npm-watch sassRender-w | npm-watch devBuild",
"dist": "npm-run-all distTokens sassRender cssLint jsonLint",
"distJS": "copyfiles -u 1 -V -e './src/**/shared_*.js' './src/**/*.js' './src/**/shared_*.scss' ./dist",
"distTokens": "node scripts/tokenScriptCustom.js",
"jsonLint": "jsonlint -q ./src/shape.json",
"sassRender": "sass-render src/*.css src/tokens/*.scss",
"sassRender-w": "sass-render -w src/**/*.{scss,css}",
"stylefluxCanonical": "styleflux -o ./altImports/canonical/*.css",
"stylefluxVariable": "styleflux -o ./altImports/variable/*.css",
"sweep": "rm -rf ./altImports ./temp ./demo/css ./demo/fonts ./dist ./src/tokens | rm ./demo/sass/*token*.scss ./src/*.css ./src/*-css.js",
"yamltest": "yamllint .travis.yml",
"test": "npm-run-all cssLint jsonLint yamltest",
"processSrc": "gulp processSrc",
"processImportsCanonical": "gulp processImportsCanonical",
"processImportsVariable": "gulp processImportsVariable",
"reprocessClean": "gulp reprocessClean",
"preserveTokens": "copyfiles -u 1 -V './src/**/componentProperties.scss' ./dist",
"ciBuild": "npm-run-all buildTokens processSrc processImportsCanonical processImportsVariable stylefluxCanonical stylefluxVariable reprocessClean preserveTokens distTokens sassRender distJS",
"devBuild": "npm-run-all buildTokens processSrc distTokens sassRender distJS"
},
"husky": {
"hooks": {
"pre-commit": "npm-run-all buildTokens processSrc test",
"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"
]
}
],
"@semantic-release/github"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"access": "public"
},
"contributors": [
{
"name": "Dale Sande",
"email": "[email protected]"
},
{
"name": "Kevin Sonnichsen",
"email": "[email protected]"
}
],
"keywords": [
"alaska airlines",
"orion design system",
"web components",
"button"
]
}