/
package.json
66 lines (66 loc) · 2.04 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
{
"name": "@10xjs/date-input-controller",
"version": "0.1.6",
"scripts": {
"build": "npm run clean && npm run build:flow && npm run build:lib && npm run build:esnext",
"build:flow": "ncp src lib && ncp src esnext && npx renamer --find '$' --replace '.flow' '@(lib|esnext)/**/*.js'",
"build:lib": "BABEL_ENV=lib npx rollup src/index.js --file lib/index.js --config",
"build:esnext": "npx babel -s -d esnext src",
"clean": "npx rimraf lib",
"flow": "npx flow",
"format": "npx prettier --write '**/*.js'",
"prepare": "npm run build",
"lint": "npx eslint .",
"spec": "npx jest --runInBand=${SPEC_SERIAL:-$CI} --coverage=${SPEC_COVERAGE:-$CI}",
"spec:watch": "npm run spec -- --watch",
"test": "npm run flow --silent && npm run lint --slient && npm run spec --silent"
},
"author": "Neal Granger <neal@nealg.com>",
"license": "MIT",
"main": "./lib",
"esnext": "./esnext",
"sideEffects": false,
"files": [
"@(lib|esnext)/**/*.@(js|map|flow)"
],
"repository": {
"type": "git",
"url": "https://github.com/10xjs/date-input-controller.git"
},
"peerDependencies": {
"react": ">=16.3.0"
},
"devDependencies": {
"@babel/cli": "7.1.2",
"@babel/core": "7.1.2",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-syntax-class-properties": "7.0.0",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-transform-flow-strip-types": "7.0.0",
"@babel/plugin-transform-object-assign": "7.0.0",
"@babel/preset-env": "7.1.0",
"@babel/preset-react": "7.0.0",
"babel-core": "7.0.0-bridge.0",
"eslint": "5.8.0",
"eslint-config-metalab": "10.0.0",
"flow-bin": "0.84.0",
"jest": "23.6.0",
"ncp": "2.0.0",
"prettier": "1.14.3",
"react": "16.12.0",
"react-dom": "16.12.0",
"renamer": "1.1.0",
"rimraf": "2.6.2",
"rollup": "0.66.6",
"rollup-plugin-babel": "4.0.3"
},
"jest": {
"modulePathIgnorePatterns": [
"lib/",
"esnext/"
],
"coveragePathIgnorePatterns": [
"test/"
]
}
}