forked from zzyzxlab/tao.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 4.17 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
{
"name": "tao.js",
"version": "0.1.0",
"main": "index.js",
"private": true,
"directories": {
"doc": "docs",
"example": "examples"
},
"author": "",
"license": "Apache-2.0",
"description": "",
"scripts": {
"build": "lerna run build --ignore=docs --ignore=patois*",
"clean:build": "lerna exec --ignore=docs --ignore=patois* -- rimraf build",
"test": "npm run build && jest",
"test:coverage": "BABEL_ENV=test npm run build && jest --coverage",
"test:coverage:view": "open packages/docs/src/content/coverage/index.html",
"test:watch": "jest --watch",
"lint:packages": "eslint packages/*/src",
"docs:clean": "ls docs | grep -v \"CNAME\" | awk '{print \"docs/\"$1}' | xargs rimraf",
"docs:build": "lerna run make --scope=docs",
"docs:edit": "$(cd packages/docs && npm run book:edit)",
"docs:coverage": "npm run test:coverage && lerna run coverage --scope=docs && npm run docs:publish",
"docs:publish": "npm run docs:clean && cp -a packages/docs/dist/ docs",
"docs:make": "npm run test:coverage && npm run docs:build && npm run docs:publish",
"docs:make:no-coverage": "npm run docs:build && npm run docs:publish",
"docs:open": "open docs/index.html",
"chore:clean": "lerna clean --ignore=docs --ignore=patois* && rimraf ./node_modules && npm install && lerna bootstrap --hoist",
"chore:dependencies:packages": "lerna exec --concurrency=1 --scope=@tao.js/* -- npm update --dev --save",
"chore:dependencies:root": "npm update --dev --save",
"chore:dependencies": "lerna clean --ignore=docs --ignore=patois* && npm run chore:dependencies:root && npm run chore:dependencies:packages && lerna bootstrap --hoist"
},
"config": {
"commitizen": {
"path": "cz-lerna-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add",
"jest --bail --findRelatedTests"
]
},
"jest": {
"collectCoverageFrom": [
"packages/*/src/**/*.{js,jsx}",
"!**/*.story.{js,jsx}",
"!**/node_modules/**",
"!**/docs/**",
"!config/**/*.js",
"!packages/*/lib/**",
"!packages/*/test/**"
],
"testRegex": "./(packages|examples)/[^/]+/test/.+\\.m?js$",
"coverageReporters": [
"html"
],
"coverageDirectory": "packages/docs/src/content/coverage",
"coveragePathIgnorePatterns": [
"/node_modules/",
"example.js"
],
"setupFiles": [
"<rootDir>/config/jest.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/config/setup.js",
"transformIgnorePatterns": [
"/node_modules/",
"<rootDir>/(packages|examples)/[^/]+/lib/"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testURL": "http://localhost",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/__mocks__/fileMock.js",
"\\.(css|less)$": "identity-obj-proxy"
}
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.0.0-beta.55",
"@babel/core": "7.0.0-beta.55",
"@babel/node": "7.0.0-beta.55",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.55",
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.55",
"@babel/plugin-transform-runtime": "7.0.0-beta.55",
"@babel/preset-env": "7.0.0-beta.55",
"@babel/preset-react": "7.0.0-beta.55",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^23.4.2",
"babel-plugin-istanbul": "^4.1.6",
"commitizen": "^2.10.1",
"cz-lerna-changelog": "^1.2.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.4",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-prettier": "^2.6.2",
"husky": "^0.15.0-rc.13",
"jest": "^23.4.2",
"jest-enzyme": "^6.0.2",
"lerna": "^2.11.0",
"lint-staged": "^7.2.0",
"plop": "^2.0.0",
"prettier": "^1.14.0",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-test-renderer": "^16.4.2",
"regenerator-runtime": "^0.11.1",
"rimraf": "^2.6.2"
}
}