-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
50 lines (50 loc) · 1.38 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
{
"name": "electro-grammar",
"description": "Parser electronic components descriptions such as surface-mount resistors and capacitors.",
"version": "1.2.0",
"main": "lib/index.js",
"keywords": [
"electronics",
"grammar",
"parser",
"pcb"
],
"license": "MIT",
"repository": "https://github.com/monostable/electro-grammar",
"scripts": {
"build:grammar": "nearleyc src/grammar.ne --out src/grammar.js",
"build:lib": "babel src/ -d lib/",
"build:cpl": "node prepare_cpl.js",
"demo": "browserify docs/index.js > docs/bundle.js",
"build": "npm run build:grammar && npm run build:cpl && npm run build:lib",
"pretest": "npm run build",
"test": "nyc -- mocha --check-leaks",
"coverage": "nyc report",
"coverage:html": "nyc report --reporter=html",
"test:browser": "zuul --local -- test/*.js",
"pretest:sauce": "babel test/ -d test-lib/",
"test:sauce": "zuul -- test-lib/*.js"
},
"dependencies": {
"nearley": "^2.15.1"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"better-assert": "^1.0.2",
"browserify": "^16.2.2",
"js-yaml": "^3.9.1",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"zuul": "^3.12.0"
},
"babel": {
"presets": [
"es2015"
],
"plugins": [
"transform-object-assign"
]
}
}