forked from Esri/calcite-design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
168 lines (168 loc) · 7.57 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
167
168
{
"name": "@esri/calcite-components",
"version": "1.0.0-next.644",
"description": "Web Components for Esri's Calcite Design System.",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"es2015": "dist/esm/index.js",
"es2017": "dist/esm/index.js",
"jsnext:main": "dist/esm/index.js",
"types": "dist/types/components.d.ts",
"type": "module",
"unpkg": "dist/calcite/calcite.js",
"collection:main": "dist/collection/index.js",
"collection": "dist/collection/collection-manifest.json",
"files": [
"dist/",
"hydrate/"
],
"scripts": {
"build": "npm run util:prep-build-reqs && stencil build",
"postbuild": "npm run util:patch && git restore src/components/*/readme.md",
"build:watch": "npm run util:prep-build-reqs && stencil build --no-docs --watch",
"build:watch-dev": "npm run util:prep-build-reqs && stencil build --no-docs --dev --watch",
"build-storybook": "npm run util:build-docs && build-storybook --output-dir ./docs",
"deps:update": "updtr --exclude chalk cheerio typescript @types/jest jest jest-cli ts-jest puppeteer && npm audit fix",
"docs": "concurrently --kill-others --raw \"npm run build-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
"docs:preview": "concurrently --raw \"npm:util:build-docs && start-storybook\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./__docs-temp__\"",
"lint": "concurrently npm:lint:*",
"lint:html": "prettier --write \"**/*.html\"",
"lint:js": "eslint --ext .js --fix . && prettier --write \"**/*.js\"",
"lint:json": "prettier --write \"**/*.json\"",
"lint:md": "prettier --write \"**/*.md\"",
"lint:yml": "prettier --write \"**/*.yml\"",
"lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\"",
"lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\"",
"posttest": "npm run test:prerender",
"prepare": "husky install",
"prepublishOnly": "ts-node --esm ./support/prepublish.ts",
"release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
"release:next": "npm ci && npm test && npm run util:deploy-next",
"release:prepare": "npm ci && npm test && ts-node --esm support/prepReleaseCommit.ts && npm run build",
"release:publish": "npm run util:test-types && npm run util:push-tags && npm publish && ts-node --esm ./support/releaseToGitHub.ts",
"start": "concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\" \"ts-node --esm ./support/cleanOnProcessExit.ts --path ./src/demos/**/*.js \"",
"test": "npm run build && npm run test:existing-build",
"test:existing-build": "stencil test --no-docs --no-build --spec --e2e",
"test:prerender": "stencil build --no-docs --prerender",
"test:storybook": "concurrently --raw \"npm:util:build-docs && screener-storybook --conf .storybook/screener.config.js\"",
"test:watch": "npm run test -- -- --watchAll",
"util:build-docs": "npm run util:copy-icons && stencil build --docs --config stencil.storybook.config.ts",
"util:clean-tested-build": "npm ci && npm test && npm run build",
"util:copy-icons": "cpy \"./node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
"util:deploy-next": "npm run util:prep-next && npm run util:publish-next",
"util:deploy-next-from-ci": "ts-node --esm support/deployNextFromCI.ts",
"util:generate-t9n-types": "ts-node --esm support/generateT9nTypes.ts",
"util:hydration-styles": "ts-node --esm support/hydrationStyles.ts",
"util:is-next-deployable": "ts-node --esm support/isNextDeployable.ts",
"util:patch": "npm run util:patch-esm-resolution && npm run util:patch-tree-shaking",
"util:patch-esm-resolution": "ts-node --esm support/patchESMResolution.ts",
"util:patch-tree-shaking": "ts-node --esm support/patchTreeShaking.ts",
"util:prep-build-reqs": "npm run util:copy-icons && npm run util:generate-t9n-types",
"util:prep-next": "ts-node --esm support/prepReleaseCommit.ts --next && npm run build",
"util:publish-next": "npm run util:test-types && npm publish --tag next && npm run util:push-tags",
"util:check-squash-mergeable-branch": "ts-node --esm support/checkSquashMergeableBranch.ts",
"util:push-tags": "git push --atomic --follow-tags origin master",
"util:sync-t9n-en-bundles": "ts-node --esm support/syncEnT9nBundles.ts",
"util:test-types": "tsc --esModuleInterop dist/types/**/*.d.ts dist/components/*.d.ts && ! grep -rnw 'dist/types' -e '<reference types='"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Esri/calcite-components.git"
},
"dependencies": {
"@floating-ui/dom": "1.0.3",
"@stencil/core": "2.18.1",
"@types/color": "3.0.3",
"color": "4.2.3",
"focus-trap": "7.1.0",
"form-request-submit-polyfill": "2.0.0",
"lodash-es": "4.17.21",
"sortablejs": "1.15.0"
},
"devDependencies": {
"@babel/preset-react": "7.18.6",
"@esri/calcite-base": "^1.2.0",
"@esri/calcite-colors": "6.0.1",
"@esri/calcite-ui-icons": "3.20.5",
"@esri/eslint-plugin-calcite-components": "0.2.2",
"@stencil/eslint-plugin": "0.4.0",
"@stencil/postcss": "2.1.0",
"@stencil/sass": "2.0.0",
"@stencil/state-tunnel": "^1.0.1",
"@storybook/addon-a11y": "6.5.13",
"@storybook/addon-docs": "6.5.12",
"@storybook/addon-interactions": "6.5.13",
"@storybook/addon-knobs": "6.4.0",
"@storybook/html": "6.5.13",
"@storybook/storybook-deployer": "2.8.16",
"@storybook/testing-library": "0.0.12",
"@types/dedent": "0.7.0",
"@types/git-semver-tags": "4.1.1",
"@types/jest": "27.0.3",
"@types/jest-axe": "3.5.5",
"@types/lodash-es": "4.17.6",
"@types/rimraf": "3.0.2",
"@types/semver": "7.3.12",
"@types/shell-quote": "1.7.1",
"@types/sortablejs": "1.15.0",
"@types/standard-version": "7.0.1",
"@types/yargs": "17.0.15",
"@typescript-eslint/eslint-plugin": "5.40.1",
"@typescript-eslint/parser": "5.42.1",
"@whitespace/storybook-addon-html": "5.0.0",
"autoprefixer": "10.4.13",
"axe-core": "4.4.3",
"babel-loader": "8.2.5",
"chalk": "4.1.2",
"cheerio": "1.0.0-rc.10",
"chokidar": "3.5.3",
"chromatic": "6.11.4",
"concurrently": "7.5.0",
"conventional-changelog-cli": "2.2.2",
"cpy-cli": "^4.0.0",
"dedent": "0.7.0",
"eslint": "8.25.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jest": "27.1.2",
"eslint-plugin-jsdoc": "39.3.13",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.10",
"eslint-plugin-unicorn": "44.0.2",
"gh-release": "6.0.4",
"git-semver-tags": "4.1.1",
"husky": "8.0.1",
"jest": "27.4.5",
"jest-axe": "7.0.0",
"jest-cli": "27.4.5",
"lint-staged": "13.0.3",
"postcss": "8.4.19",
"prettier": "2.7.1",
"puppeteer": "10.0.0",
"quicktype-core": "6.1.0",
"rimraf": "3.0.2",
"screener-storybook": "0.23.0",
"semver": "7.3.8",
"shell-quote": "1.7.4",
"standard-version": "9.5.0",
"stencil-eslint-core": "0.3.1",
"storybook": "6.5.13",
"storybook-addon-themes": "6.1.0",
"storybook-rtl-addon": "0.3.3",
"stylelint": "14.15.0",
"stylelint-config-recommended-scss": "8.0.0",
"stylelint-use-logical-spec": "4.1.0",
"tailwindcss": "3.2.2",
"ts-jest": "27.1.5",
"ts-node": "10.9.1",
"type-fest": "3.2.0",
"typescript": "4.7.4",
"updtr": "4.0.0",
"workbox-build": "6.5.4",
"yargs": "17.6.2"
},
"license": "SEE LICENSE IN copyright.txt",
"volta": {
"node": "16.13.2",
"npm": "8.3.1"
}
}