-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
170 lines (170 loc) · 6.04 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "@canopycanopycanopy/b-ber",
"version": "0.1.7",
"private": true,
"license": "GPL-3.0-or-later",
"engines": {
"node": ">= 10.x",
"npm": ">= 6.x"
},
"scripts": {
"watch": "lerna run watch --stream",
"build": "npm run lerna run build -- --scope=@canopycanopycanopy/b-ber-reader-react && npm run reader:shim && npm run lerna run build -- --scope=\"@canopycanopycanopy/{$(ls packages -xm --width=0 | sed 's/ //g' | sed -E 's/b-ber-reader-react,?//')}\"",
"bootstrap": "lerna bootstrap --hoist",
"bootstrap:clean": "lerna clean --yes && npm i && lerna bootstrap --hoist && npm run reader:shim && npm run build",
"check:code": "echo \"todo\" # \"Checking code...\" && eslint --ignore-path .gitignore --ignore-path .prettierignore --ext .js,.jsx .",
"check:other": "npm run prettier -- --check",
"check": "npm-run-all -s check:code check:other",
"format:code": "npm run check:code -- --fix",
"format:other": "npm run prettier -- --write",
"format": "npm-run-all -p format:code format:other",
"prettier": "prettier \"**/*.{md,scss,yaml,yml}\"",
"lerna": "lerna",
"jest": "jest",
"test:coverage": "rimraf ./coverage && jest --collectCoverage=true",
"test": "npm run check && jest",
"prepublishOnly": "npm test && npm run build",
"postpublish": "node scripts/run-ci.js",
"publish:canary": "lerna publish --canary",
"publish:latest": "lerna publish",
"publish:lts-2": "[[ $(git rev-parse --abbrev-ref HEAD) != lts-2 ]] && echo \"ERR: Publishing lts-2 can only be done on the lts-2 branch\" && exit 1 || npm run lerna publish -- --dist-tag lts-2",
"outdated": "npm outdated || true && lerna exec --no-bail -- npm outdated",
"deps:update": "lernaupdate",
"deps:dedupe": "lernaupdate --dedupe",
"reader:shim": "echo \"Adding shim for b-ber-reader...\" && cd packages/b-ber-reader && npm i",
"browserlist:update": "npx browserslist@latest --update-db",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --ignore-path .gitignore --ignore-path .prettierignore --fix",
"git add"
],
"*.{md,scss,yaml,yml,json}": [
"prettier --write",
"git add"
],
"*.svg": [
"svgo --pretty --indent=2 --config=svgo.yml --multipass",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint --edit $1"
}
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/runtime-corejs3": "^7.10.5",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@types/node": "^14.14.7",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"autoprefixer": "^9.6.1",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^24.8.0",
"babel-loader": "^8.2.3",
"better-sqlite3": "^7.0.1",
"browserslist": "^4.17.4",
"buffer": "^6.0.3",
"classnames": "^2.2.5",
"concurrently": "^3.5.1",
"conventional-changelog-cli": "^2.2.2",
"core-js": "^3.6.4",
"coveralls": "^3.0.1",
"css-loader": "^0.28.10",
"css-tree": "^2.1.0",
"cssnano": "^4.1.10",
"detect-browser": "^2.1.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.7.0",
"express": "^4.17.3",
"file-loader": "^6.2.0",
"fs-extra": "^8.1.0",
"handlebars": "^4.7.7",
"history": "^4.7.2",
"html-to-react": "^1.4.3",
"html-webpack-plugin": "^4.5.2",
"husky": "^1.1.3",
"istanbul": "^0.4.5",
"istanbul-api": "1.2.2",
"istanbul-reports": "1.1.4",
"jest": "^26.6.3",
"jest-environment-jsdom": "^23.1.0",
"jest-environment-jsdom-global": "^1.1.0",
"jest-extended": "^0.11.5",
"js-string-escape": "^1.0.1",
"lerna": "^6.5.1",
"lerna-audit": "^1.2.0",
"lerna-update-wizard": "^1.1.2",
"lint-staged": "^9.2.0",
"lodash": "^4.17.21",
"material-icons": "^1.0.0",
"mini-css-extract-plugin": "^1.6.2",
"mock-fs": "^4.4.2",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"object-fit-images": "^3.2.3",
"os-browserify": "^0.3.0",
"postcss": "^7.0.14",
"postcss-cssnext": "^3.1.0",
"postcss-import": "^11.1.0",
"postcss-loader": "^2.1.1",
"prettier": "^1.15.1",
"prop-types": "^15.6.1",
"quote": "^0.4.0",
"react": "^17.0.2",
"react-attr-converter": "^0.3.1",
"react-dom": "^17.0.2",
"react-player": "^2.10.1",
"react-redux": "^7.1.3",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"resize-observer-polyfill": "^1.5.0",
"rimraf": "^2.7.1",
"sass": "^1.49.8",
"sass-lint": "^1.13.1",
"sass-loader": "^13.0.2",
"setimmediate": "^1.0.5",
"stream-browserify": "^3.0.0",
"style-loader": "^0.20.2",
"sugarss": "^1.0.1",
"svgo": "^1.3.0",
"tar": "^6.1.11",
"ts-jest": "^26.4.4",
"typescript": "^4.0.5",
"url-loader": "^4.1.1",
"url-search-params-polyfill": "^4.0.0",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.6.1",
"webpack-cleanup-plugin": "^0.5.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"webpack-fix-style-only-entries": "^0.6.1",
"webpack-node-externals": "^1.6.0",
"webpack-remove-empty-scripts": "^1.0.1",
"xml-js": "^1.6.2",
"xmlhttprequest-ssl": "^2.0.0"
}
}