-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathpackage.json
153 lines (153 loc) · 5.97 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
{
"name": "@airtable/blocks",
"version": "1.18.2",
"description": "Airtable Blocks SDK",
"repository": {
"type": "git",
"url": "https://github.com/Airtable/blocks.git"
},
"homepage": "https://airtable.com/developers/blocks",
"main": "dist/cjs/index.js",
"types": "index.d.ts",
"files": [
"dist",
"types",
"ui.js",
"models.js",
"types.js",
"unstable_private_utils.js",
"unstable_standalone_ui.js",
"unstable_testing_utils.js",
"index.d.ts",
"ui.d.ts",
"models.d.ts",
"types.d.ts",
"unstable_private_utils.d.ts",
"unstable_standalone_ui.d.ts",
"unstable_testing_utils.d.ts"
],
"scripts": {
"ci": "echo '--- sdk' && yarn run build && yarn run test:coverage && ./scripts/check_typescript_when_installed_in_block.sh",
"pretest": "yarn run lint && yarn run types",
"version": "changelog-publish --github-repo-url='https://github.com/airtable/blocks' --git-tag-prefix='@airtable/blocks@' && yarn run build:docs && git add CHANGELOG.md ../blocks-docs/docs.json",
"release": "npm_config_registry=https://registry.npmjs.org/ release-it",
"types": "tsc",
"lint": "ESLINT_USE_FLAT_CONFIG=false eslint --report-unused-disable-directives --ext .js,.ts,.tsx src test",
"lint:quiet": "yarn run lint --quiet",
"jest": "node --unhandled-rejections=strict ./node_modules/.bin/jest",
"jest:watch": "jest --watch",
"test": "yarn run build && yarn run jest",
"test:coverage": "yarn run test --coverage",
"build:clean": "rm -rf dist",
"build:babel": "babel src --out-dir dist/cjs --extensions=.js,.ts,.tsx --ignore='**/*.d.ts'",
"watch:babel": "yarn run build:babel --watch --source-maps inline",
"build:types": "tsc --outDir dist/types --declaration --declarationMap --noEmit false --allowJs false --checkJs false --emitDeclarationOnly --stripInternal",
"watch:types": "yarn run build:types --watch",
"build:docs": "cd ../blocks-docs && yarn run build && cd ../sdk",
"build": "yarn run build:clean && concurrently yarn:build:babel yarn:build:types",
"watch": "yarn run build:clean && concurrently yarn:watch:babel yarn:watch:types",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"deploy-storybook": "storybook-to-ghpages"
},
"author": "",
"license": "UNLICENSED",
"devDependencies": {
"@airtable-blocks-internal/changelog-publish": "^1.0.2",
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.6",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@storybook/addon-actions": "^5.2.8",
"@storybook/addon-links": "^5.2.8",
"@storybook/addons": "^5.2.8",
"@storybook/react": "^5.2.8",
"@storybook/storybook-deployer": "^2.8.1",
"@types/enzyme": "^3.10.4",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/fs-extra": "^8.0.1",
"@types/glob": "^7.1.1",
"@types/hoist-non-react-statics": "^3.3.5",
"@types/jest": "^24.0.23",
"@types/lodash.omit": "^4.5.6",
"@types/prettier": "^1.19.0",
"@types/react-dom": "^16.9.24",
"@types/react-window": "^1.8.8",
"@types/styled-system": "^5.1.4",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"babel-eslint": "^11.0.0-beta.0",
"babel-loader": "^8.0.6",
"babel-plugin-transform-define": "^1.3.1",
"concurrently": "^5.0.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^9.5.0",
"eslint-plugin-airtable": "github:hyperbase/eslint-plugin-airtable#01bbfe0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.12",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"glob": "^7.1.6",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"prism-react-renderer": "^1.0.2",
"typescript": "^5.4.5"
},
"dependencies": {
"@airtable/eslint-plugin-blocks": "^1.0.2",
"@babel/runtime": "^7.7.6",
"@styled-system/core": "^5.1.2",
"@types/prop-types": "^15.7.12",
"@types/react": "^16.14.60",
"@types/styled-system__core": "^5.1.6",
"core-js": "^3.4.8",
"emotion": "^10.0.23",
"fast-deep-equal": "^3.1.1",
"hoist-non-react-statics": "^3.3.2",
"lodash.omit": "^4.5.0",
"prop-types": "15.8.1",
"react-window": "1.8.10",
"use-subscription": "^1.3.0"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0",
"react-dom": "^16.9.24 || ^17.0.0"
},
"jest": {
"setupFiles": [
"<rootDir>/test/setup_enzyme.ts"
],
"collectCoverageFrom": [
"src/models/**/*",
"src/testing/**/*"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"release-it": {
"git": {
"tagName": "@airtable/blocks@${version}",
"commitMessage": "Release @airtable/blocks@${version}"
},
"hooks": {
"before:init": "../../bin/check-repo-for-release && yarn build && yarn test",
"after:bump": "yarn build",
"after:release": "../../tools/git-mirror/bin/git-mirror sync @airtable/blocks@${version}"
},
"npm": {
"access": "public"
}
}
}