Skip to content

Commit 97e4637

Browse files
author
Spencer Rudnick
committed
npm init and some preparation for packaging
1 parent c3bb844 commit 97e4637

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1+
node_modules/
2+
.DS_Store
3+
14
example.com+5*
5+
6+
dist/
7+
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
package-lock.json

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/node_modules
2+
/example
3+
server.js

package.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "ringbuf.js",
3+
"version": "0.1.0",
4+
"description": "wait-free single-consumer single-producer ring buffer using SharedArrayBuffer.",
5+
"author": "padenot",
6+
"license": "MPL 2.0",
7+
"repository": "padenot/ringbuf.js",
8+
"main": "dist/index.js",
9+
"module": "dist/index.es.js",
10+
"jsnext:main": "dist/index.es.js",
11+
"engines": {
12+
"node": ">=8",
13+
"npm": ">=5"
14+
},
15+
"scripts": {
16+
"build": "rollup -c"
17+
},
18+
"devDependencies": {
19+
"@babel/core": "^7.3.3",
20+
"@babel/runtime": "^7.3.1",
21+
"cross-env": "^5.2.0",
22+
"rollup": "^1.2.2",
23+
"rollup-plugin-babel": "^4.3.2",
24+
"rollup-plugin-commonjs": "^9.2.0",
25+
"rollup-plugin-node-resolve": "^4.0.0"
26+
},
27+
"files": [
28+
"dist"
29+
]
30+
}

0 commit comments

Comments
 (0)