forked from brentgardner/federalist
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
114 lines (114 loc) · 4.37 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
{
"name": "federalist",
"private": true,
"version": "0.0.0",
"description": "",
"keywords": [],
"dependencies": {
"ampersand-view-switcher": "^2.0.0",
"async": "^1.4.2",
"autoprefixer": "^6.1.2",
"aws-sdk": "^2.1.36",
"babel": "^5.8.23",
"backbone": "^1.2.1",
"bcryptjs": "^2.1.0",
"brfs": "^1.4.0",
"browserify": "^10.2.4",
"cfenv": "^1.0.0",
"codemirror": "^5.6.0",
"connect-redis": "1.4.5",
"db-migrate": "^0.9.17",
"ejs": "~0.8.4",
"express-force-ssl": "^0.2.12",
"github": "^0.2.4",
"grunt": "0.4.2",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-coffee": "~0.10.1",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-cssmin": "~0.9.0",
"grunt-contrib-jst": "~0.6.0",
"grunt-contrib-less": "0.11.1",
"grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-watch": "~0.5.3",
"grunt-sails-linker": "~0.9.5",
"grunt-sync": "~0.0.4",
"html2markdown": "^1.1.0",
"include-all": "~0.1.3",
"jquery": "2.1.4",
"localtunnel": "^1.7.0",
"markdown": "^0.5.0",
"markdown-it": "^4.4.0",
"mime": "^1.3.4",
"moment": "^2.10.3",
"newrelic": "^1.22.0",
"node-sass": "^3.4.2",
"passport": "^0.2.1",
"passport-github": "^0.1.5",
"passport-local": "^1.0.0",
"pg": "^4.4.0",
"postcss-cli": "^2.3.2",
"prosemirror": "git+https://github.com/18f/prosemirror.git",
"rc": "~0.5.0",
"request": "^2.61.0",
"s3": "^4.4.0",
"sails": "~0.11.0-rc8",
"sails-db-migrate": "^0.7.0",
"sails-disk": "~0.10.0",
"sails-postgresql": "^0.10.15",
"socket.io-redis": "^0.1.4",
"to-markdown": "^1.2.1",
"underscore": "^1.8.3",
"uswds": "git+https://github.com/18f/web-design-standards.git#18f-pages-staging",
"validator": "^3.39.0",
"yamljs": "^0.2.4"
},
"scripts": {
"install": "npm run uswds && npm run codemirror && npm run prosemirror && npm run migrate:up",
"start": "npm run browserify && npm run sass && npm run autoprefixer && node app.js",
"debug": "node debug app.js",
"browserify": "browserify -t brfs assets/app/app.js -o assets/js/bundle.js",
"sass": "node-sass assets/styles/styles.scss -o assets/styles",
"autoprefixer": "postcss --use autoprefixer -r assets/styles/styles.css",
"watch": "npm run uswds && npm run watch:server & npm run watch:client",
"watch:server": "nodemon app.js --ignore assets/app --ignore .tmp/ --ignore node_modules/",
"watch:client": "npm run watch:client:sass & npm run watch:client:autoprefix & npm run watch:client:js",
"watch:client:sass": "node-sass -w -r assets/styles/*.scss -o assets/styles",
"watch:client:autoprefix": "npm run sass && postcss --use autoprefixer -r -w assets/styles/styles.css assets/styles/styles.css",
"watch:client:js": "watchify --debug -t brfs assets/app/app.js -o assets/js/bundle.js",
"test": "npm run test:server && npm run test:client",
"test:server": "mocha --timeout 60000 test/api/bootstrap.test.js test/api/unit/**/*.test.js",
"test:client": "mocha test/browser/bootstrap.test.js \"test/browser/unit/**/*.test.js\"",
"migrate:create": "grunt db:migrate:create",
"migrate:up": "grunt db:migrate:up || true",
"migrate:down": "grunt db:migrate:down",
"uswds": "npm run uswds:css && npm run uswds:images && npm run uswds:fonts",
"uswds:css": "npm run uswds:css:sass && npm run uswds:css:uswds && npm run uswds:css:gfonts",
"uswds:css:sass": "cd node_modules/uswds && npm run build-sass && cd ../..",
"uswds:css:uswds": "cp node_modules/uswds/assets/css/uswds.css assets/styles/",
"uswds:css:gfonts": "cp node_modules/uswds/assets/css/google-fonts.css assets/styles/",
"uswds:images": "cp -r node_modules/uswds/assets/img/ ./assets/images/uswds",
"uswds:fonts": "cp node_modules/uswds/assets/fonts/* ./assets/fonts",
"codemirror": "cp node_modules/codemirror/lib/codemirror.css assets/styles/",
"prosemirror": "cd node_modules/prosemirror && npm run dist"
},
"main": "app.js",
"repository": {
"type": "git",
"url": "git://github.com/18f/federalist.git"
},
"author": "dhcole",
"license": "Public Domain",
"devDependencies": {
"jsdom": "3.1.2",
"mocha": "2.3.4",
"nodemon": "^1.3.7",
"sinon": "1.17.2",
"watchify": "^3.2.2"
},
"engines": {
"node": "4.2.3",
"npm": "2.14.x"
}
}