-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
160 lines (160 loc) · 5.76 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
{
"name": "tao.js",
"version": "0.16.2",
"main": "index.js",
"private": true,
"directories": {
"doc": "docs",
"example": "examples"
},
"author": "Jeff Hoffer (eudaimos) <[email protected]>",
"license": "Apache-2.0",
"description": "",
"scripts": {
"build": "lerna run build --ignore=docs --ignore=patois* --stream",
"clean:build": "lerna run build:clean --ignore=docs --ignore=patois*",
"test": "jest",
"test:coverage": "BABEL_ENV=test 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": "lerna run book:edit --scope=docs --stream",
"docs:edits": "$(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:clean:md": "rimraf docs/**/*.md",
"docs:make": "npm run test:coverage && npm run docs:build && npm run docs:publish && npm run docs:clean:md",
"docs:make:no-coverage": "npm run docs:build && npm run docs:publish && npm run docs:clean:md",
"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 [email protected]/* -- 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",
"chore:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"chore:publish": "lerna publish"
},
"config": {
"commitizen": {
"path": "cz-lerna-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"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": {
"@tao.js/connect": "file:packages/tao-connect",
"@tao.js/core": "file:packages/tao",
"@tao.js/feature": "file:packages/tao-feature",
"@tao.js/koa": "file:packages/koa-tao",
"@tao.js/path": "file:packages/tao-path",
"@tao.js/react": "file:packages/react-tao",
"@tao.js/router": "file:packages/tao-router",
"@tao.js/socket.io": "file:packages/tao-socket-io",
"@tao.js/utils": "file:packages/tao-utils",
"docs": "file:packages/docs",
"patois.api": "file:examples/patois.api",
"patois.web": "file:examples/patois.web"
},
"devDependencies": {
"@babel/cli": "7.1.5",
"@babel/core": "7.1.5",
"@babel/node": "7.2.2",
"@babel/plugin-proposal-class-properties": "7.1.0",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-syntax-class-properties": "7.0.0",
"@babel/plugin-transform-modules-commonjs": "7.1.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.1.5",
"@babel/preset-react": "7.0.0",
"@testing-library/react-hooks": "^5.1.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^23.6.0",
"babel-plugin-istanbul": "^5.2.0",
"better-npm-run": "^0.1.1",
"commitizen": "^3.1.2",
"conventional-changelog": "^3.1.25",
"conventional-changelog-cli": "^2.2.2",
"cz-lerna-changelog": "^2.0.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^5.16.0",
"eslint-config-prettier": "^3.6.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^3.4.1",
"gitbook-updated-cli": "^2.3.4",
"husky": "^0.15.0-rc.13",
"jest": "^23.6.0",
"jest-enzyme": "^7.1.2",
"lerna": "^3.22.1",
"lerna-update-wizard": "^0.9.4",
"lint-staged": "^7.3.0",
"nodemon": "^1.19.4",
"plop": "^2.7.6",
"prettier": "^1.19.1",
"prop-types": "^15.8.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"react-testing-library": "^5.9.0",
"regenerator-runtime": "^0.12.1",
"rimraf": "^2.7.1",
"rollup": "1.12.3",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4"
}
}