mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Merge pull request #487 from code-dot-org/piskel-on-npm
Prepare for npm publishing
This commit is contained in:
commit
b39b3befa1
3
.npmignore
Normal file
3
.npmignore
Normal file
@ -0,0 +1,3 @@
|
||||
node_modules/
|
||||
test/
|
||||
|
4
misc/scripts/piskel-root
Normal file
4
misc/scripts/piskel-root
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
// Writes the absolute path to the release build root to stdout
|
||||
var path = require('path');
|
||||
process.stdout.write(path.resolve(__dirname, '../../dest/prod') + '\n');
|
13
package.json
13
package.json
@ -6,16 +6,25 @@
|
||||
"contributors": [
|
||||
"Vincent Renaudin"
|
||||
],
|
||||
"main": "./dest/prod/index.html",
|
||||
"homepage": "http://github.com/juliandescottes/piskel",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "http://github.com/juliandescottes/piskel.git"
|
||||
},
|
||||
"files": [
|
||||
"dest/prod",
|
||||
"misc/scripts/piskel-root"
|
||||
],
|
||||
"bin": {
|
||||
"piskel-root": "./misc/scripts/piskel-root"
|
||||
},
|
||||
"main": "./dest/prod/index.html",
|
||||
"scripts": {
|
||||
"test": "grunt test",
|
||||
"start": "nodewebkit"
|
||||
"start": "nodewebkit",
|
||||
"preversion": "grunt test-local build",
|
||||
"postversion": "git push && git push --tags && npm publish"
|
||||
},
|
||||
"devDependencies": {
|
||||
"dateformat": "1.0.11",
|
||||
|
Loading…
Reference in New Issue
Block a user