-
Notifications
You must be signed in to change notification settings - Fork 4k
/
index.js
49 lines (48 loc) · 953 Bytes
/
index.js
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
/**
* Internal dependencies
*/
const {
getArgFromCLI,
getArgsFromCLI,
getFileArgsFromCLI,
getNodeArgsFromCLI,
hasArgInCLI,
hasFileArgInCLI,
spawnScript,
} = require( './cli' );
const {
getFilesToCopy,
getJestOverrideConfigFile,
getWebpackArgs,
getWebpackEntryPoints,
hasBabelConfig,
hasCssnanoConfig,
hasJestConfig,
hasPostCSSConfig,
hasPrettierConfig,
} = require( './config' );
const { fromProjectRoot, fromConfigRoot, hasProjectFile } = require( './file' );
const { getPackageProp, hasPackageProp } = require( './package' );
module.exports = {
fromProjectRoot,
fromConfigRoot,
getArgFromCLI,
getArgsFromCLI,
getFileArgsFromCLI,
getFilesToCopy,
getJestOverrideConfigFile,
getNodeArgsFromCLI,
getPackageProp,
getWebpackArgs,
getWebpackEntryPoints,
hasArgInCLI,
hasBabelConfig,
hasCssnanoConfig,
hasFileArgInCLI,
hasJestConfig,
hasPackageProp,
hasPostCSSConfig,
hasPrettierConfig,
hasProjectFile,
spawnScript,
};