-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
66 lines (66 loc) · 1.88 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
{
"name": "kindle-ui",
"description": "A react component library to build Kindle OS in the browser.",
"version": "1.0.0",
"keywords": [
"kindle",
"react",
"react-component",
"ui"
],
"private": true,
"license": "MIT",
"main": "packages/kindle-ui/dist/index.cjs.js",
"module": "packages/kindle-ui/dist/index.esm.js",
"source": "packages/kindle-ui/src/index.ts",
"typings": "packages/kindle-ui/dist/index.d.ts",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "yarn workspace @kindle-ui/core build",
"postbuild": "scripts/postbuild.sh",
"build:watch": "yarn workspace @kindle-ui/core build:watch",
"dev": "npm-run-all --parallel docs:dev build:watch",
"dev:install": "yarn && cd ./packages/kindle-ui && yarn && cd ../docs && yarn",
"docs:dev": "yarn workspace docs start",
"docs:build": "yarn workspace docs build",
"publish:core": "yarn workspace @kindle-ui/core publish",
"publish:fonts": "yarn workspace kindle-fonts publish",
"prepublishOnly": "cp ./README.md ./packages/kindle-ui/README.md && yarn build && yarn docs:build",
"test": "react-scripts test",
"test:unit": "cross-env NODE_ENV=test mocha --config .mocharc.js 'packages/kindle-ui/**/*.test.{mjs,js,ts,tsx}' 'test/utils/**/*.test.{js,ts,tsx}'"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/register": "^7.18.9",
"@testing-library/dom": "^8.20.0",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"jsdom": "^21.1.0",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"react-test-renderer": "17.0.2",
"ts-node": "^10.9.1"
}
}