-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.47 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
{
"name": "flashcards",
"description": "practice flashcards from the terminal",
"bin": {
"flashcards": "./dist/bin/flashcards.js"
},
"repository": "https://github.com/wongterrencew/flashcards.git",
"author": "Terrence Wong <[email protected]>",
"license": "MIT",
"scripts": {
"build": "npm run build:lib && npm run build:bin && npm run build:decks",
"build:lib": "babel lib/ --out-dir dist/lib/ --copy-files",
"build:bin": "babel bin/ --out-dir dist/bin/ --copy-files",
"build:decks": "babel decks/ --out-dir dist/decks/ --copy-files",
"check": "npm run lint && npm run flow && npm run test",
"test": "npm run test:lib",
"test:lib": "NODE_ENV=test mocha --compilers js:babel-register \"lib/**/*.spec.js\" --recursive --colors",
"lint": "standard --env mocha --verbose | snazzy",
"prepublish": "in-publish && NODE_ENV=production yarn run build || not-in-publish",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"flow": "flow",
"flow:watch": "flow-watch",
"flow:types": "flow-typed install"
},
"config": {
"ghooks": {
"pre-commit": "npm run check",
"commit-msg": "validate-commit-msg"
}
},
"standard": {
"parser": "babel-eslint",
"plugins": [
"flowtype"
],
"globals": [
"Queue",
"AsyncQueue",
"DeckLoader",
"T",
"Card",
"CardId",
"Database"
],
"ignore": [
"flow-typed"
]
},
"babel": {
"plugins": [
"transform-flow-strip-types"
],
"presets": [
"stage-3"
]
},
"dependencies": {
"hapi": "^16.1.0",
"knuth-shuffle": "^1.0.1",
"leveldown": "^1.6.0",
"levelup": "^1.3.5",
"memdown": "^1.2.4",
"pouchdb": "^6.1.2",
"pouchdb-upsert": "^2.1.0",
"q-level": "^1.1.3",
"readline-sync": "^1.4.6",
"yargs": "^6.6.0"
},
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-eslint": "^7.1.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-stage-3": "^6.22.0",
"eslint-plugin-flowtype": "^2.30.2",
"expect": "^1.20.2",
"flow-bin": "^0.40.0",
"flow-typed": "^2.1.2",
"flow-watch": "^1.1.1",
"ghooks": "^2.0.0",
"in-publish": "^2.0.0",
"mocha": "^3.2.0",
"mocha-mock": "^1.2.1",
"mock-fs": "^4.2.0",
"pouchdb-adapter-memory": "^6.1.2",
"semantic-release": "^6.3.2",
"snazzy": "^6.0.0",
"standard": "^8.6.0",
"validate-commit-msg": "^2.11.1"
}
}