Last active
September 21, 2017 13:18
-
-
Save bodil/b2a8a76718e8c30bf121 to your computer and use it in GitHub Desktop.
Who needs Pulp anyway?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "lol", | |
"version": "1.0.0", | |
"main": "index.js", | |
"config": { | |
"main": "Main", | |
"testMain": "Test.Main" | |
}, | |
"scripts": { | |
"compile": "psc -c -f 'src/**/*.js' -f 'bower_components/purescript-*/src/**/*.js' 'src/**/*.purs' 'bower_components/purescript-*/src/**/*.purs'", | |
"bundle": "psc-bundle 'output/*/*.js' -o $npm_package_main -m $npm_package_config_main && echo \"module.exports = PS[\\\"$npm_package_config_main\\\"];\" >> $npm_package_main", | |
"build": "npm run compile && npm run bundle", | |
"prepublish": "bower install && npm run build", | |
"compile-test": "psc -c -f 'src/**/*.js' -f 'test/**/*.js' -f 'bower_components/purescript-*/src/**/*.js' 'src/**/*.purs' 'test/**/*.purs' 'bower_components/purescript-*/src/**/*.purs'", | |
"bundle-test": "psc-bundle 'output/*/*.js' -o test.js -m $npm_package_config_testMain --main $npm_package_config_testMain", | |
"test": "npm run compile-test && npm run bundle-test && node test.js && rm -f test.js" | |
}, | |
"devDependencies": { | |
"bower": "^1.6.5", | |
"purescript": "^0.7.4" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment