-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
126 lines (126 loc) · 5.47 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
{
"name": "@manifoldco/ui",
"description": "Manifold UI",
"version": "0.9.14",
"repository": {
"type": "git",
"url": "git+https://github.com/manifoldco/ui.git"
},
"homepage": "https://github.com/manifoldco/ui",
"bugs": {
"url": "https://github.com/manifoldco/ui/issues"
},
"author": "manifoldco",
"license": "BSD-3-Clause",
"main": "dist/index.js",
"esnext": "dist/esm",
"module": "dist/index.mjs",
"es2015": "dist/esm/index.mjs",
"es2017": "dist/esm/index.mjs",
"jsnext:main": "dist/esm/index.mjs",
"types": "dist/types/components.d.ts",
"collection": "dist/collection/collection-manifest.json",
"scripts": {
"build": "npm run update-version && stencil build",
"build:docs": "npm run copy-changelog && cd docs && npm i && npm run build",
"build:storybook": "npm run build && build-storybook && npm run copy-changelog",
"build:watch": "npm run update-version && stencil build --watch",
"bundlesize": "npm run build && npx bundlesize",
"clean-package-json": "node scripts/clean-package-json",
"copy-changelog": "node scripts/copy-changelog",
"dev": "npm run build:watch & rm -rf dist && wait-on dist/loader/index.cjs.js && npm run storybook",
"docs": "make package && npm run copy-changelog && cd docs && npm start",
"docker": "docker build -t manifoldco/ui . && docker run -p 8080:80 manifoldco/ui",
"format:changelog": "npx keep-a-changelog && prettier CHANGELOG.md --write",
"generate:gql": "graphql-codegen --config codegen.yml",
"generate:specs": "npm run generate:specs:catalog && npm run generate:specs:gateway && npm run generate:specs:marketplace && npm run generate:specs:provisioning && npm run generate:specs:connector",
"generate:specs:catalog": "npx @manifoldco/swagger-to-ts src/spec/catalog/v1.yaml -w 'export namespace Catalog' -o src/types/catalog.ts",
"generate:specs:gateway": "npx @manifoldco/swagger-to-ts src/spec/gateway/v1.yaml -w 'export namespace Gateway' -o src/types/gateway.ts",
"generate:specs:marketplace": "npx @manifoldco/swagger-to-ts src/spec/marketplace/v1.yaml -w 'export namespace Marketplace' -o src/types/marketplace.ts",
"generate:specs:provisioning": "npx @manifoldco/swagger-to-ts src/spec/provisioning/v1.yaml -w 'export namespace Provisioning' -o src/types/provisioning.ts",
"generate:specs:connector": "npx @manifoldco/swagger-to-ts src/spec/connector/v1.yaml -w 'export namespace Connector' -o src/types/connector.ts",
"happo": "npm run build && npm run generate:gql && manifold run -t manifold -p manifold-ui-ci -- happo run",
"testcafe:dev": "DEPLOY_URL=http://localhost:6006 npx testcafe chrome e2e/",
"happo-ci-circleci": "npm run build && npm run generate:gql && happo-ci-circleci",
"heroku-postbuild": "npm run build:docs",
"lint": "npm run lint:js && npm run lint:css && cd docs && npm i && npm run lint",
"lint:css": "stylelint 'src/**/*.css'",
"lint:js": "eslint --ext .js,.ts,.tsx src",
"now-build": "npm run build:storybook",
"storybook": "start-storybook -p 6006",
"test": "stencil test --spec --e2e",
"test:e2e": "stencil test --e2e",
"test:spec": "stencil test --spec",
"test:coverage": "stencil test --spec --e2e --coverage --maxWorkers=2",
"test:debug": "node --inspect-brk node_modules/.bin/stencil test --spec --e2e --runInBand",
"test:schema": "npm run generate:gql && tsc --noEmit",
"test:watch": "stencil test --spec --e2e --watchAll",
"update-version": "node scripts/version-from-git"
},
"bundlesize": [
{
"path": "./dist/esm/loader.mjs",
"maxSize": "15 kB",
"compression": "none"
},
{
"path": "./dist/esm/manifold-!(mock|number-input|button_3)*.js",
"maxSize": "18 kB",
"compression": "none"
},
{
"path": "./dist/esm/manifold-number-input*.js",
"maxSize": "40 kB",
"compression": "none"
}
],
"dependencies": {
"@stencil/state-tunnel": "^1.0.1",
"clipboard-polyfill": "^2.8.6"
},
"devDependencies": {
"@graphql-codegen/cli": "^1.8.2",
"@graphql-codegen/introspection": "^1.8.2",
"@graphql-codegen/typescript": "^1.8.2",
"@graphql-codegen/typescript-operations": "^1.8.2",
"@manifoldco/eslint-plugin-stencil": "^0.4.1",
"@manifoldco/icons": "0.0.5",
"@reach/observe-rect": "^1.0.3",
"@stencil/core": "^1.7.5",
"@stencil/postcss": "^1.0.1",
"@storybook/addon-knobs": "^5.2.5",
"@storybook/addons": "^5.2.5",
"@storybook/html": "^5.2.5",
"@types/fetch-mock": "^7.3.1",
"@types/jest": "24.0.23",
"@types/puppeteer": "2.0.1",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"babel-loader": "^8.0.6",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.5.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"fetch-mock": "^8.0.0",
"fs-extra": "^8.1.0",
"graphql": "^14.5.8",
"happo-plugin-typescript": "^1.0.0",
"happo.io": "^5.0.1",
"jest": "24.9.0",
"jest-cli": "24.9.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^1.18.2",
"puppeteer": "1.20.0",
"rollup-plugin-replace": "^2.2.0",
"stylelint": "^10.1.0",
"stylelint-config-prettier": "^7.0.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^19.0.0",
"testcafe": "^1.5.0",
"ts-loader": "^7.0.1",
"wait-on": "^4.0.0",
"webpack": "^4.41.2"
}
}