Skip to content

Commit 12d522e

Browse files
author
Jaime Rios
committed
Basic structure
1 parent 0664ecc commit 12d522e

File tree

4 files changed

+52
-0
lines changed

4 files changed

+52
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.DS_Store
2+
npm-debug.log
3+
node_modules

package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "es6-react-redux-snippets",
3+
"main": "./lib/es6-react-redux-snippets",
4+
"version": "0.0.0",
5+
"description": "This is one of the best packages for ES6+, React and Redux packages out there",
6+
"keywords": [
7+
"ES6",
8+
"JavaScript",
9+
"React",
10+
"Redux",
11+
"snippets"
12+
],
13+
"activationCommands": {
14+
"atom-workspace": "es6-react-redux-snippets:toggle"
15+
},
16+
"repository": "https://github.com/atom/es6-react-redux-snippets",
17+
"license": "MIT",
18+
"engines": {
19+
"atom": ">=1.0.0 <2.0.0"
20+
},
21+
"dependencies": {
22+
}
23+
}

snippets/snippets.cson

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This project was developed by Jaime Rios
2+
# You can contact me at https://github.com/papaponmx
3+
# https://riosjaime.com or hola@riosjaime.com
4+
5+
'.source.js':
6+
'Annonymous function':
7+
'prefix': 'anfn'
8+
'body': '(${1:params}) => {
9+
$2
10+
}'
11+
12+
'.source.js':
13+
'function':
14+
'prefix': 'fn'
15+
'body': """function ${1:functionName} (${2:params}) {
16+
$3
17+
}"""
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use babel';
2+
3+
import Es6ReactReduxSnippetsView from '../lib/es6-react-redux-snippets-view';
4+
5+
describe('Es6ReactReduxSnippetsView', () => {
6+
it('has one valid test', () => {
7+
expect('life').toBe('easy');
8+
});
9+
});

0 commit comments

Comments
 (0)