-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
56 lines (56 loc) · 2.02 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
{
"name": "root",
"private": true,
"version": "0.1.0",
"workspaces": [
"packages/*",
"examples/*"
],
"scripts": {
"build": "lerna run build",
"watch": "lerna run watch --parallel",
"test": "yarn examples:build && yarn lint && yarn test:unit && yarn test:func:headless",
"test:unit": "jest",
"test:func": "testcafe chrome test/functional/*.test.js --app 'yarn examples:serve'",
"test:func:headless": "testcafe chrome:headless test/functional/*.test.js --app 'yarn examples:serve'",
"test:func:react": "BASE_URL=http://localhost:6006 testcafe chrome --fixture-meta target=react",
"test:func:vue": "BASE_URL=http://localhost:6009 testcafe chrome --fixture-meta target=vue",
"test:func:html": "BASE_URL=http://localhost:6008 testcafe chrome --fixture-meta target=html",
"lint": "eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --ignore-path .gitignore .",
"storybooks": "lerna run storybook --parallel",
"examples": "yarn examples:build && yarn examples:serve",
"examples:build": "lerna run build-storybook",
"examples:serve": "http-server examples/build -p 5000",
"prepare": "husky install",
"prepublishOnly": " yarn test",
"lerna:version": "lerna version --no-private",
"lerna:publish": "lerna publish --no-private"
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@storybook/eslint-config-storybook": "^2.4.0",
"babel-jest": "28.1.1",
"babel-loader": "8.2.5",
"babel-preset-vue": "2.0.2",
"del-cli": "^4.0.1",
"eslint": "^7.32.0",
"eslint-plugin-storybook": "^0.5.12",
"http-server": "14.1.1",
"husky": "^8.0.1",
"jest": "^28.1.1",
"lerna": "^5.1.0",
"lint-staged": "^13.0.1",
"prettier": "2.6.2",
"testcafe": "^1.19.0",
"ts-jest": "^28.0.4",
"ts-loader": "^9.3.0",
"typescript": "^4.7.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "yarn lint --fix"
},
"dependencies": {}
}