1 | {
|
2 | "name": "generator-omaha",
|
3 | "version": "8.1.0",
|
4 | "description": "Yeoman generator designed to help you craft sustainable code for the modern web",
|
5 | "license": "MIT",
|
6 | "main": "generators/app/index.js",
|
7 | "repository": "omahajs/generator-omaha",
|
8 | "author": {
|
9 | "name": "Jason Wohlgemuth",
|
10 | "email": "jhwohlgemuth@gmail.com",
|
11 | "url": "https://github.com/jhwohlgemuth"
|
12 | },
|
13 | "engines": {
|
14 | "node": "*"
|
15 | },
|
16 | "files": [
|
17 | "generators/app",
|
18 | "generators/plugin",
|
19 | "generators/project",
|
20 | "generators/server",
|
21 | "generators/webapp"
|
22 | ],
|
23 | "keywords": [
|
24 | "yeoman-generator"
|
25 | ],
|
26 | "dependencies": {
|
27 | "chalk": "^2.0.1",
|
28 | "config": "^1.17.1",
|
29 | "csvtojson": "^1.1.9",
|
30 | "fs-extra": "^5.0.0",
|
31 | "gruntfile-editor": "^1.2.0",
|
32 | "lodash": "^4.13.1",
|
33 | "node-fetch": "^1.7.3",
|
34 | "yeoman-generator": "^2.0.1",
|
35 | "yosay": "^2.0.0"
|
36 | },
|
37 | "devDependencies": {
|
38 | "babel-cli": "^6.26.0",
|
39 | "babel-eslint": "^8.0.2",
|
40 | "babel-preset-flow": "^6.23.0",
|
41 | "bluebird": "^3.4.1",
|
42 | "coveralls": "^3.0.0",
|
43 | "del-cli": "^1.1.0",
|
44 | "eslint": "^4.1.1",
|
45 | "eslint-config-omaha-prime-grade": "^4.0.1",
|
46 | "flow-bin": "^0.62.0",
|
47 | "http-server": "^0.10.0",
|
48 | "jest": "^22.0.0",
|
49 | "jest-image-snapshot": "^2.0.0",
|
50 | "ncp": "^2.0.0",
|
51 | "puppeteer": "^0.13.0",
|
52 | "watch": "^1.0.1",
|
53 | "yeoman-assert": "^3.0.0",
|
54 | "yeoman-test": "^1.4.0"
|
55 | },
|
56 | "babel": {
|
57 | "presets": [
|
58 | "flow"
|
59 | ]
|
60 | },
|
61 | "jest": {
|
62 | "testMatch": [
|
63 | "**/test/*.js"
|
64 | ],
|
65 | "setupTestFrameworkScriptFile": "./test/lib/jestSetup.js"
|
66 | },
|
67 | "scripts": {
|
68 | "lint": "flow && npm run eslint",
|
69 | "eslint": "eslint --fix -c ./.eslintrc.js ./src/**/*.js",
|
70 | "lint:watch": "watch 'npm run lint' ./src",
|
71 | "lint:tests": "eslint --fix --env jest -c ./.eslintrc.js ./test/**; exit 0;",
|
72 | "lint:tests:watch": "watch 'npm run lint:tests' ./test",
|
73 | "test": "npm run build && jest .*.test.js",
|
74 | "coverage": "npm test -- --coverage",
|
75 | "test:watch": "npm test -- --watch",
|
76 | "test:ci": "npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
77 | "test:travis": "npm run test:ci",
|
78 | "test:all": "npm test && npm run test:builds && npm run test:visual",
|
79 | "pretest:builds": "mkdir -p ~/.omahajs-builds-output-directory",
|
80 | "test:builds": "bash ./test/lib/generate-build-test.sh",
|
81 | "pretest:visual": "npm run capture",
|
82 | "test:visual": "jest visual-regression",
|
83 | "prebuild": "del-cli generators && ncp src generators",
|
84 | "build": "babel src -d generators --ignore templates",
|
85 | "preversion": "npm run lint && npm test && npm run build",
|
86 | "postversion": "git push && git push --tags",
|
87 | "precapture": "npm run server:start",
|
88 | "capture": "node ./test/lib/captureScreenshots",
|
89 | "postcapture": "npm run server:stop",
|
90 | "capture:reset": "rm -frd ./test/__image_snapshots__ && npm run capture",
|
91 | "capture:delete": "rm ./test/lib/screenshots/*.png",
|
92 | "server:start": "nohup http-server ~/.omahajs-builds-output-directory -p 1234 &",
|
93 | "server:stop": "kill $(echo `ps -ef | grep -m 1 http-server` | awk -F \" \" '{print $2}')"
|
94 | }
|
95 | }
|