added bower, gulp

This commit is contained in:
Bachir Soussi Chiadmi
2017-01-22 15:18:08 +01:00
parent 4c9b35f2d1
commit ac58a24f5c
12657 changed files with 1359874 additions and 579 deletions
+9
View File
@@ -0,0 +1,9 @@
'use strict';
var path = require('path');
var os = require('os');
var tmpdir = (os.tmpdir || os.tmpDir)();
var uuid = require('uuid');
module.exports = function (ext) {
return path.join(tmpdir, uuid.v4() + (ext || ''));
};
@@ -0,0 +1,98 @@
{
"_args": [
[
{
"raw": "tempfile@~0.1.2",
"scope": null,
"escapedName": "tempfile",
"name": "tempfile",
"rawSpec": "~0.1.2",
"spec": ">=0.1.2 <0.2.0",
"type": "range"
},
"/mnt/Data/bach/Sites/clameurs.org/sites/all/themes/figureslibres/inifig/node_modules/temp-write"
]
],
"_from": "tempfile@>=0.1.2 <0.2.0",
"_id": "tempfile@0.1.3",
"_inCache": true,
"_location": "/tempfile",
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "1.4.6",
"_phantomChildren": {},
"_requested": {
"raw": "tempfile@~0.1.2",
"scope": null,
"escapedName": "tempfile",
"name": "tempfile",
"rawSpec": "~0.1.2",
"spec": ">=0.1.2 <0.2.0",
"type": "range"
},
"_requiredBy": [
"/temp-write"
],
"_resolved": "https://registry.npmjs.org/tempfile/-/tempfile-0.1.3.tgz",
"_shasum": "7d6b710047339d39f847327a056dadf183103010",
"_shrinkwrap": null,
"_spec": "tempfile@~0.1.2",
"_where": "/mnt/Data/bach/Sites/clameurs.org/sites/all/themes/figureslibres/inifig/node_modules/temp-write",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/tempfile/issues"
},
"dependencies": {
"uuid": "~1.4.0"
},
"description": "Get a random temp file path",
"devDependencies": {
"mocha": "*"
},
"directories": {},
"dist": {
"shasum": "7d6b710047339d39f847327a056dadf183103010",
"tarball": "https://registry.npmjs.org/tempfile/-/tempfile-0.1.3.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/tempfile",
"keywords": [
"tmp",
"temp",
"temporary",
"tempfile",
"file",
"path",
"random",
"rand"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "tempfile",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git://github.com/sindresorhus/tempfile.git"
},
"scripts": {
"test": "mocha"
},
"version": "0.1.3"
}
+36
View File
@@ -0,0 +1,36 @@
# tempfile [![Build Status](https://travis-ci.org/sindresorhus/tempfile.png?branch=master)](http://travis-ci.org/sindresorhus/tempfile)
> Get a random temp file path
## Install
Install with [npm](https://npmjs.org/package/tempfile)
```
npm install --save tempfile
```
## Example
```js
var tempfile = require('tempfile');
tempfile('.png');
//=> /var/folders/_1/tk89k8215ts0rg0kmb096nj80000gn/T/4049f192-43e7-43b2-98d9-094e6760861b.png
```
## API
### tempfile(extension)
#### extension
Type: `String`
Optionally supply an extension to append to the path.
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)