-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
80 lines (80 loc) · 2.5 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
{
"private": true,
"name": "canvas-panel",
"workspaces": [
"packages/*"
],
"devDependencies": {
"@fesk/module-release": "0.0.3",
"@types/jest": "24.9.1",
"@types/prop-types": "15.7.4",
"@types/react": "17.0.19",
"babel-eslint": "10.1.0",
"babel-jest": "24.9.0",
"babel-runtime": "6.26.0",
"canvas": "2.6.1",
"eslint": "6.8.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-flow": "2.29.1",
"eslint-plugin-flowtype": "4.7.0",
"eslint-plugin-prettier": "3.4.0",
"flow-bin": "0.125.1",
"husky": "1.3.1",
"jest": "24.9.0",
"jest-canvas-mock": "2.3.1",
"lerna": "2.11.0",
"lint-staged": "9.5.0",
"npm-run-all": "4.1.5",
"prettier": "1.19.1"
},
"devEngines": {
"node": "8.x"
},
"scripts": {
"build": "lerna run build && lerna link",
"build-all": "lerna run build",
"build-ci": "npm-run-all build build-docs",
"preview": "./buildDocs.sh && netlifyctl deploy --draft -m 'Local deployment preview'",
"start": "run-p clean-babel-rc watch start-docs start-cookbook",
"start-docs": "cd packages/canvas-panel-core && yarn start",
"start-cookbook": "cd packages/canvas-panel-cookbook && yarn start",
"watch": "lerna run watch --parallel --concurrency=100",
"clean-babel-rc": "rm -f ./packages/*/.babelrc",
"precommit": "lint-staged",
"release": "fesk-release",
"merge": "fesk-merge",
"link": "lerna link",
"postinstall": "lerna link",
"build-core": "cd packages/canvas-panel-core && yarn run build",
"build-docs": "cd packages/canvas-panel-core && yarn run styleguide:build",
"build-patchwork-plugin": "cd packages/canvas-panel-patchwork-plugin && yarn run build",
"build-cookbook": "cp -R ./developer-stories/. ./packages/canvas-panel-cookbook/public/developer-stories/ && cd packages/canvas-panel-cookbook && yarn run build",
"build-redux": "cd packages/canvas-panel-redux && yarn run build",
"build-timeline": "cd packages/canvas-panel-timeline && yarn run build",
"build-slideshow": "cd packages/canvas-panel-slideshow && yarn run build"
},
"jest": {
"coveragePathIgnorePatterns": [
"/node_modules/",
"/coverage/",
"(.test)\\.(ts|tsx|js)$",
".json"
],
"transform": {
"^.+\\.jsx?$": "./jest.transform.js"
},
"setupFiles": [
"./jest.environment.js"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{js,json,scss,md}": [
"prettier --write",
"git add"
]
}
}