-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 3.03 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
{
"name": "@mathdoy/root",
"private": true,
"version": "1.0.1",
"description": "",
"main": "index.js",
"keywords": [],
"author": "",
"license": "ISC",
"scripts": {
"build": "BABEL_ENV=cjs lerna run build",
"test": "yarn -s test-unit",
"test-ci": "yarn -s test-unit-ci",
"test-unit": "cross-env NODE_ENV=test cross-env BABEL_ENV=cjs NODE_ICU_DATA=node_modules/full-icu jest",
"test-unit-ci": "cross-env NODE_ENV=test cross-env BABEL_ENV=cjs NODE_ICU_DATA=node_modules/full-icu jest --runInBand",
"lint": "eslint ./packages/**/src",
"watch": "cd packages/toggle && yarn -s watch",
"watch:react": "cd packages/toggle-react && yarn -s watch",
"watch:restify": "cd packages/toggle-restify && yarn -s watch",
"watch:middleware": "cd packages/toggle-middleware && yarn -s watch",
"watch:qs": "cd packages/toggle-querystring && yarn -s watch",
"watch:nextjs": "cd packages/toggle-next-wrapper && yarn -s watch",
"run-fastify": "cd examples/fastify && yarn -s watch",
"run-restify": "cd examples/restify && yarn -s watch",
"run-react": "cd examples/react && yarn -s start",
"run-nextjs": "cd examples/nextjs && yarn -s watch",
"prettier": "prettier-eslint --write --list-different \"packages/*/src/**/*.js\" \"examples/*/src/**/*.js\"",
"doc": "echo \"TBD\" && exit 0;"
},
"jest": {
"coverageReporters": [
"json",
"lcov",
"text",
"clover"
],
"setupTestFrameworkScriptFile": "./test-setup.js",
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/",
"/esm/"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
],
"globals": {
"ts-jest": {
"isolatedModules": true
}
}
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.4.2",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"babel-plugin-transform-builtin-extend": "^1.1.2",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"eslint": "^5.8.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"full-icu": "^1.2.1",
"jest": "^23.6.0",
"lerna": "^3.4.3",
"prettier": "^1.14.3",
"prettier-eslint-cli": "^4.7.1",
"raf": "^3.4.1"
},
"workspaces": [
"packages/*",
"examples/*"
]
}