-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
120 lines (120 loc) · 3.53 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
{
"private": true,
"name": "tacoscript-monorepo",
"devDependencies": {
"async": "^1.5.0",
"babel-cli": "^6.3.17",
"babel-eslint": "^6.0.4",
"babel-plugin-transform-class-properties": "^6.6.0",
"babel-plugin-transform-flow-strip-types": "^6.3.13",
"babel-plugin-transform-runtime": "^6.3.13",
"babel-preset-es2015": "^6.6.0",
"babel-preset-es2015-loose": "^7.0.0",
"babel-preset-stage-0": "^6.0.0",
"babel-runtime": "^6.0.0",
"babylon": "^6.8.0",
"browserify": "^13.0.0",
"chai": "^4.3.6",
"chalk": "^1.1.1",
"concat-stream": "^1.5.1",
"es5-shim": "^4.5.7",
"eslint": "^8.7.0",
"jq-cli-wrapper": "*",
"lerna": "2.0.0-beta.14",
"lodash": "^4.6.1",
"mocha": "^2.3.3",
"mocha-fixtures-generic": "^2.7.0",
"nyc": "^6.0.0",
"pplink": "^1.0.1",
"rimraf": "^2.5.2",
"source-map": "^0.5.6",
"source-map-support": "^0.4.0",
"temp": "^0.8.3"
},
"potatoDependencies": {
"gulp": "^3.9.0",
"gulp-babel": "^6.0.0",
"gulp-newer": "^1.0.0",
"gulp-plumber": "^1.0.1",
"gulp-rename": "^1.2.2",
"gulp-size": "^2.0.0",
"gulp-sourcemaps": "^1.6.0",
"gulp-util": "^3.0.7",
"gulp-watch": "^4.3.5"
},
"scripts": {
"bootstrap": "npm install && lerna bootstrap && npm run build",
"build": "npm run clean && ./scripts/build.sh",
"watch": "npm run clean && ./scripts/build.sh --watch",
"watch-dev": "npm run clean && gulp watch",
"clean": "rm -rf packages/*/lib",
"lint": "eslint packages/*/src",
"tasks-pretest": "./scripts/test-task.sh pre",
"tasks-posttest": "./scripts/test-task.sh post",
"pretest": "npm run lint && npm run tasks-pretest",
"test": "mocha -- $(scripts/_get-test-directories.sh)",
"posttest": "npm run tasks-posttest",
"test-ci": "TEST_SKIP=alpastor npm test",
"pretest-cov": "npm run tasks-pretest",
"test-cov": "nyc -r text -r lcov _mocha -- $(scripts/_get-test-directories.sh)",
"posttest-cov": "npm run tasks-posttest && echo 'View results with `npm run test-cov-results`.'",
"test-cov-results": "(sleep 1; python3 -m webbrowser -t http://127.0.0.1:8123) & (cd coverage/lcov-report && python3 -m http.server 8123 -b 127.0.0.1)",
"publish": "git pull --ff-only && npm run build && npm test && lerna publish && npm run clean",
"install-potato": "< package.json jq -r '.potatoDependencies | to_entries[] | .key + \"@\" + .value' | xargs npm i"
},
"babel": {
"presets": [
"stage-0",
"es2015-loose"
],
"plugins": [
"transform-runtime",
"transform-class-properties",
"transform-flow-strip-types"
],
"env": {
"test": {
"auxiliaryCommentBefore": "istanbul ignore next"
}
}
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "eslint:recommended",
"rules": {
"camelcase": 0,
"comma-dangle": 0,
"consistent-return": 0,
"curly": 0,
"key-spacing": 0,
"new-cap": 0,
"new-parens": 0,
"no-cond-assign": 0,
"no-console": 0,
"no-constant-condition": 0,
"no-empty": 0,
"no-fallthrough": 0,
"no-labels": 0,
"no-loop-func": 0,
"no-multi-spaces": 0,
"no-process-exit": 0,
"no-return-assign": 0,
"no-shadow": 0,
"no-underscore-dangle": 0,
"no-unreachable": 0,
"no-use-before-define": 0,
"no-unused-vars": 1,
"strict": 0
},
"//rules": {
"quotes": [
2,
"double",
"avoid-escape"
]
},
"env": {
"node": true
}
}
}