Getting started : JSPM
- Install jspm globally (or locally, if so run
npx jspm
instead ofjspm
):
npm install -g jspm
- Create a directory, install npm dependencies (es-module-shims is an importmap polyfill that jspm includes by default):
#!/usr/bin/env python | |
# This program is free software. It comes without any warranty, to the extent | |
# permitted by applicable law. You can redistribute it and/or modify it under | |
# the terms of the Do What The Fuck You Want To Public License, Version 2, as | |
# published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
""" | |
This is a simple daemon implementing freedesktop.org's file manager interface | |
(http://www.freedesktop.org/wiki/Specifications/file-manager-interface/). |
from ranger.config.commands import cd | |
class cd(cd): | |
def tab(self): | |
import os | |
from os.path import dirname, basename, expanduser, join | |
cwd = self.fm.thisdir.path | |
rel_dest = self.rest(1) |
Getting started : JSPM
npx jspm
instead of jspm
):npm install -g jspm