forked from liferay/clay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.06 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
{
"private": true,
"scripts": {
"a11y": "metal-a11y --packages ./packages -c demos/a11y.html",
"build": "lerna run build",
"compile": "lerna run compile",
"checkFormat": "npm run prettier -- --list-different",
"coveralls": "node node_modules/coveralls/bin/coveralls.js < coverage/lcov.info",
"format": "npm run prettier -- --write",
"jest": "cross-env NODE_ENV=test jest",
"lerna": "lerna bootstrap -- --no-optional --no-package-lock",
"lint": "eslint packages/clay-*/src/*.js packages/clay-*/src/**/*.js && npm run mcritic",
"mcritic": "mcritic packages/ --ignore '**/{browserslist-config-clay-components,clayui.com,generator-metal-clay,node_modules}/**'",
"prettier": "prettier-eslint packages/clay-*/src/*.js packages/clay-*/src/**/*.js",
"soy": "lerna run soy",
"start": "http-server . -p 4000",
"test": "npm run build && npm run jest && npm run a11y",
"testSoy": "cd packages/clay-isomorphic && ./gradlew testSoy",
"electric": "npm run soy && npm run compile && cd packages/clayui.com && ../../node_modules/electric-cli/bin/electric.js",
"web": "npm run electric -- run",
"deploy": "npm run electric -- deploy"
},
"devDependencies": {
"babel-preset-metal": "^4.1.0",
"coveralls": "^3.0.0",
"cross-env": "^5.1.3",
"eslint": "^4.10.0",
"eslint-config-liferay": "^2.0.8",
"eslint-plugin-react": "^7.4.0",
"http-server": "^0.9.0",
"husky": "^0.14.2",
"jest": "^20.0.4",
"lerna": "^2.4.0",
"metal-a11y-checker": "^1.0.5",
"metal-jest-serializer": "^2.0.0",
"metal-soy-critic": "^2.4.0",
"prettier-eslint-cli": "^4.7.0"
},
"jest": {
"collectCoverage": true,
"coverageReporters": [
"json",
"lcov"
],
"resolver": "./jest-clay-lerna-resolver",
"snapshotSerializers": [
"metal-jest-serializer"
],
"testPathIgnorePatterns": [
"browserslist-config-clay-components",
"fixtures"
],
"transformIgnorePatterns": [
"<rootDir>.*(node_modules)(?!.*clay.*).*$"
]
},
"workspaces": [
"packages/*"
]
}