Goodbye JSPM.

This commit is contained in:
Jonathan Cremin 2018-06-02 19:42:45 +00:00
parent 7607759e3f
commit 64c823db55
10 changed files with 1235 additions and 593 deletions

View file

@ -9,23 +9,27 @@
},
"scripts": {
"build": "npm run build-js && npm run build-sass",
"build-js": "babel -D -m system -d web/public/build -i web/public web/public/src",
"build-sass": "node-sass -r -o web/public/styles/ web/public/styles/",
"build-js": "webpack --progress -p -c webpack.config.js",
"build-sass": "node-sass --include-path ./node_modules/ -r -o web/public/styles/ web/public/styles/",
"cover": "istanbul cover _mocha -- -r babel-register test/**/*.spec.js",
"heroku-postbuild": "jspm install && npm run build",
"heroku-postbuild": "npm run build",
"init": "babel-node -e \"require('./lib/storage').default();\"",
"initdb": "node -r babel-register test/initdb.js",
"jspm": "jspm install",
"lint": "eslint .",
"start": "node -r babel-register app.js",
"test": "npm run test-seed && mocha -r babel-register test/**/*.spec.js",
"test-seed": "babel-node test/fixtures/user.js",
"watch": "concurrently -k -n watch-js,watch-server \"npm run watch-js\" \"npm run watch-server\"",
"watch-js": "babel -Dw -m system -d web/public/build web/public/src",
"watch-js": "webpack --mode=development --progress -c webpack.config.js",
"watch-server": "nodemon -r babel-register -i web/public",
"watch-sass": "node-sass -w -r -o web/public/styles/ web/public/styles/"
"watch-sass": "node-sass --include-path ./node_modules/ -w -r -o web/public/styles/ web/public/styles/"
},
"dependencies": {
"angular": "^1.5.6",
"angular-reconnecting-websocket": "https://github.com/adieu/angular-reconnecting-websocket#0.1.1",
"angular-resource": "^1.5.6",
"angular-route": "^1.5.6",
"angular-strap": "^2.3.8",
"async-busboy": "^0.6.2",
"aws-sdk": "^2.245.1",
"babel": "^6.5.2",
@ -35,18 +39,21 @@
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-register": "^6.9.0",
"basic-auth": "~2.0.0",
"bootstrap-sass": "^3.3.6",
"busboy": "^0.2.14",
"co": "~4.6.0",
"co-redis": "^2.1.0",
"co-views": "~2.1.0",
"copy-webpack-plugin": "^4.5.1",
"debug": "~3.1.0",
"dropzone": "~4.0.1",
"ejs": "^2.6.1",
"form-data": "^2.3.2",
"http-errors": "^1.6.3",
"image-size": "^0.6.2",
"image-type": "^3.0.0",
"jimp": "0.2.28",
"jspm": "0.16.53",
"jquery": "^2.2.4",
"kcors": "^2.2.1",
"koa": "^2.5.1",
"koa-bodyparser": "^4.2.1",
@ -77,11 +84,14 @@
"redis": "^2.8.0",
"sendgrid": "^5.2.3",
"sequelize": "^4.37.10",
"ssh2": "^0.6.1",
"smooth-scroll": "https://github.com/cferdinandi/smooth-scroll#5.3.7",
"statsy": "~0.2.0",
"stripe": "^6.0.0",
"swig": "~1.4.2",
"validate-ip": "^1.0.1"
"validate-ip": "^1.0.1",
"webpack": "^4.10.2",
"webpack-cli": "^3.0.1",
"zeroclipboard": "^2.2.0"
},
"devDependencies": {
"babel-eslint": "^8.2.3",
@ -94,31 +104,5 @@
"nodemon": "^1.17.4",
"supertest": "^3.1.0",
"tmp": "0.0.33"
},
"jspm": {
"directories": {
"baseURL": "web/public"
},
"dependencies": {
"angular": "npm:angular@^1.5.6",
"angular-reconnecting-websocket": "github:adieu/angular-reconnecting-websocket@~0.1.1",
"angular-strap": "npm:angular-strap@^2.3.8",
"angular/resource": "npm:angular-resource@^1.5.6",
"angular/route": "npm:angular-route@^1.5.6",
"bootstrap-sass": "npm:bootstrap-sass@^3.3.6",
"cferdinandi/smooth-scroll": "github:cferdinandi/smooth-scroll@~5.3.7",
"dropzone": "npm:dropzone@~4.0.1",
"jquery": "npm:jquery@^2.2.4",
"zeroclipboard": "npm:zeroclipboard@^2.2.0"
},
"devDependencies": {
"babel": "npm:babel-core@^5.8.24",
"babel-runtime": "npm:babel-runtime@^5.8.24",
"core-js": "npm:core-js@^1.1.4"
}
},
"cacheDirectories": [
"node_modules",
"web/public/jspm_packages"
]
}
}