Files
dolt/samples/js/counter/package.json
Erik Arvidsson abff0f247f Make go test ./... and go build ./... work with integration tests (#2005)
For go build we need a dummy go file or go build fails

For go test we now make sure we run npm install so that the test
passes
2016-07-11 11:01:51 -07:00

19 lines
529 B
JSON

{
"name": "@attic/counter",
"description": "noms example javascript client with a counter",
"license": "Apache-2.0",
"main": "dist/main.js",
"version": "1.0.1",
"scripts": {
"preinstall": "pushd .. && npm install && popd && rm -rf node_modules && ln -sf ../node_modules/",
"prepublish": "npm run build",
"start": "babel -d dist -w src",
"build": "BABEL_ENV=production ../node_modules/.bin/babel -d dist src",
"test": "eslint src/ && flow src/"
},
"keywords": [
"noms",
"example"
]
}